Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 107.8 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 189.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.232/2.232, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 67.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.7975, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006516/0.8041, allocations: 5.102 MB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1914/0.9955, allocations: 151.2 MB / 1.241 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.997, allocations: 20.25 kB / 1.241 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009753/0.9981, allocations: 197.4 kB / 1.241 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002695/1.001, allocations: 0.5998 MB / 1.242 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00269/1.003, allocations: 0.9747 MB / 1.243 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002557/1.006, allocations: 1.786 MB / 1.245 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/1.007, allocations: 0.8117 MB / 1.246 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/1.009, allocations: 0.6653 MB / 1.246 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/1.01, allocations: 0.7198 MB / 1.247 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002892/1.01, allocations: 164 kB / 1.247 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001244/1.011, allocations: 0.6362 MB / 1.248 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/1.012, allocations: 446.6 kB / 1.248 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006605/1.013, allocations: 0.7423 MB / 1.249 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/1.015, allocations: 2.171 MB / 1.251 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/1.015, allocations: 0 / 1.251 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.533e-06/1.015, allocations: 0 / 1.251 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.089e-05/1.015, allocations: 0 / 1.251 GB, free: 7.465 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.003038/1.018, allocations: 1.799 MB / 1.253 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/1.018, allocations: 8.031 kB / 1.253 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008346/1.026, allocations: 1.275 MB / 1.254 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/1.028, allocations: 0.9769 MB / 1.255 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/1.028, allocations: 94.45 kB / 1.255 GB, free: 3.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/1.028, allocations: 112 kB / 1.255 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004884/1.033, allocations: 2.045 MB / 1.257 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.033, allocations: 0 / 1.257 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/1.033, allocations: 51.98 kB / 1.257 GB, free: 0.9336 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.187e-05/1.033, allocations: 28 kB / 1.257 GB, free: 0.9062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007357/1.041, allocations: 2.76 MB / 1.26 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008091/1.049, allocations: 4.434 MB / 1.264 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007695/1.057, allocations: 2.732 MB / 1.267 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002939/1.059, allocations: 1.038 MB / 1.268 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005274/1.06, allocations: 0.614 MB / 1.269 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003483/1.064, allocations: 1.356 MB / 1.27 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.697e-06/1.064, allocations: 0 / 1.27 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01062/1.074, allocations: 3.379 MB / 1.273 GB, free: 304 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.074, allocations: 201.2 kB / 1.273 GB, free: 56 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/1.075, allocations: 0.7745 MB / 1.274 GB, free: 15.27 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001467/1.076, allocations: 49.7 kB / 1.274 GB, free: 15.21 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003633/1.076, allocations: 480.8 kB / 1.275 GB, free: 14.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003443/1.076, allocations: 433.8 kB / 1.275 GB, free: 14.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004951/1.077, allocations: 266.7 kB / 1.275 GB, free: 14.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.077, allocations: 349.9 kB / 1.276 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003003/1.08, allocations: 0.9704 MB / 1.277 GB, free: 12.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003213/1.083, allocations: 1.097 MB / 1.278 GB, free: 11.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00598/1.089, allocations: 1.919 MB / 1.279 GB, free: 9.668 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/1.089, allocations: 4 kB / 1.279 GB, free: 9.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.007421/1.097, allocations: 2.331 MB / 1.282 GB, free: 7.32 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/1.097, allocations: 8 kB / 1.282 GB, free: 7.312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.097, allocations: 3.938 kB / 1.282 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005655/1.097, allocations: 80.84 kB / 1.282 GB, free: 7.227 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.1, allocations: 435.3 kB / 1.282 GB, free: 6.801 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/1.102, allocations: 1.646 MB / 1.284 GB, free: 5.012 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.104, allocations: 280.9 kB / 1.284 GB, free: 4.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001951/1.104, allocations: 75.92 kB / 1.284 GB, free: 4.664 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,incAng.decAng.tNext,$PRE.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007119/1.105, allocations: 328.2 kB / 1.285 GB, free: 4.332 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/1.105, allocations: 110.7 kB / 1.285 GB, free: 4.223 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008021/1.113, allocations: 2.723 MB / 1.287 GB, free: 1.484 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/1.113, allocations: 16 kB / 1.287 GB, free: 1.469 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/1.113, allocations: 0 / 1.287 GB, free: 1.469 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.477e-05/1.113, allocations: 7.969 kB / 1.287 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00971/1.123, allocations: 4.303 MB / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.862e-06/1.123, allocations: 0 / 1.292 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002188/1.125, allocations: 415.3 kB / 1.292 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000421/1.126, allocations: 84.72 kB / 1.292 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/1.126, allocations: 43.94 kB / 1.292 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/1.128, allocations: 1.677 MB / 1.294 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.128, allocations: 64 / 1.294 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007178/1.135, allocations: 2.493 MB / 1.296 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/1.135, allocations: 423.1 kB / 1.297 GB, free: 7.785 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/1.136, allocations: 28 kB / 1.297 GB, free: 7.758 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.138, allocations: 231.7 kB / 1.297 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.138, allocations: 101.2 kB / 1.297 GB, free: 7.434 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.138, allocations: 67.86 kB / 1.297 GB, free: 7.367 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007039/1.139, allocations: 0.5537 MB / 1.297 GB, free: 6.816 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.139, allocations: 0 / 1.297 GB, free: 6.816 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001185/1.14, allocations: 479.1 kB / 1.298 GB, free: 6.348 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001574/1.141, allocations: 0.6566 MB / 1.299 GB, free: 5.863 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.006959/1.148, allocations: 2.352 MB / 1.301 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.148, allocations: 0 / 1.301 GB, free: 3.496 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003519/1.152, allocations: 1.321 MB / 1.302 GB, free: 2.164 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/1.153, allocations: 320.1 kB / 1.302 GB, free: 1.871 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006878/1.16, allocations: 2.956 MB / 1.305 GB, free: 14.88 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/1.161, allocations: 1.156 MB / 1.306 GB, free: 13.69 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/1.162, allocations: 199.2 kB / 1.307 GB, free: 13.5 MB / 1.045 GB Notification: Performance of SimCode: time 1.212e-06/1.162, allocations: 0 / 1.307 GB, free: 13.5 MB / 1.045 GB Notification: Performance of Templates: time 0.03645/1.198, allocations: 28.43 MB / 1.334 GB, free: 1.129 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches