Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.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.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") translateModel(Buildings.HeatTransfer.Windows.Examples.SideFins,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fin.fraSun|fin.HDirTilUns|fin.HDirTil",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006923/0.006923, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001186/0.001186, allocations: 197.4 kB / 16.68 MB, free: 5.926 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.447/1.447, allocations: 222.9 MB / 240.3 MB, free: 15.1 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.302/2.302, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8774/0.8786, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007095/0.8858, allocations: 5.258 MB / 1.093 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2012/1.087, allocations: 151.5 MB / 1.241 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/1.089, allocations: 17.69 kB / 1.241 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008751/1.09, allocations: 200 kB / 1.241 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002578/1.092, allocations: 0.6131 MB / 1.242 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00256/1.095, allocations: 0.9842 MB / 1.243 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002048/1.097, allocations: 1.901 MB / 1.245 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/1.098, allocations: 0.9027 MB / 1.245 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008601/1.099, allocations: 0.7125 MB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007653/1.1, allocations: 0.7819 MB / 1.247 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002313/1.1, allocations: 192 kB / 1.247 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/1.101, allocations: 0.6636 MB / 1.248 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003943/1.102, allocations: 482.6 kB / 1.248 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006598/1.102, allocations: 0.8202 MB / 1.249 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/1.105, allocations: 2.409 MB / 1.251 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.105, allocations: 4 kB / 1.251 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.843e-06/1.105, allocations: 0 / 1.251 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.171e-05/1.105, allocations: 0 / 1.251 GB, free: 6.324 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: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003405/1.108, allocations: 1.89 MB / 1.253 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.108, allocations: 8.031 kB / 1.253 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008726/1.117, allocations: 1.286 MB / 1.254 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/1.119, allocations: 1.055 MB / 1.255 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.821e-05/1.119, allocations: 94.67 kB / 1.256 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/1.119, allocations: 136 kB / 1.256 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005373/1.124, allocations: 2.205 MB / 1.258 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/1.124, allocations: 0 / 1.258 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/1.125, allocations: 63.98 kB / 1.258 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/1.125, allocations: 35.98 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00792/1.133, allocations: 2.96 MB / 1.261 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008789/1.141, allocations: 5.04 MB / 1.266 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008275/1.15, allocations: 2.865 MB / 1.269 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003203/1.153, allocations: 1.129 MB / 1.27 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005409/1.153, allocations: 0.6105 MB / 1.27 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003734/1.157, allocations: 1.45 MB / 1.272 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 3.296e-06/1.157, allocations: 0 / 1.272 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01129/1.169, allocations: 3.613 MB / 1.275 GB, free: 13.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.98e-05/1.169, allocations: 201.2 kB / 1.275 GB, free: 13.2 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/1.17, allocations: 0.8215 MB / 1.276 GB, free: 12.37 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000139/1.17, allocations: 49.7 kB / 1.276 GB, free: 12.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003772/1.17, allocations: 0.5083 MB / 1.277 GB, free: 11.8 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/1.171, allocations: 441.7 kB / 1.277 GB, free: 11.37 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004873/1.171, allocations: 270.6 kB / 1.277 GB, free: 11.1 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.171, allocations: 353.9 kB / 1.278 GB, free: 10.75 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003165/1.174, allocations: 1.052 MB / 1.279 GB, free: 9.691 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/1.178, allocations: 1.187 MB / 1.28 GB, free: 8.484 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006193/1.184, allocations: 2.056 MB / 1.282 GB, free: 6.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/1.184, allocations: 3.938 kB / 1.282 GB, free: 6.406 MB / 1.014 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007523/1.191, allocations: 2.479 MB / 1.284 GB, free: 3.914 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.192, allocations: 8 kB / 1.284 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/1.192, allocations: 0 / 1.284 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005651/1.192, allocations: 84.84 kB / 1.284 GB, free: 3.82 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002297/1.194, allocations: 431.3 kB / 1.285 GB, free: 3.398 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001964/1.196, allocations: 1.651 MB / 1.286 GB, free: 1.602 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.198, allocations: 289.5 kB / 1.287 GB, free: 1.32 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.199, allocations: 63.94 kB / 1.287 GB, free: 1.258 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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,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,$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 (151): * Single equations (assignments): 150 * 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.0006885/1.199, allocations: 361 kB / 1.287 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002631/1.2, allocations: 114.5 kB / 1.287 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00812/1.208, allocations: 2.868 MB / 1.29 GB, free: 13.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/1.208, allocations: 16 kB / 1.29 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.208, allocations: 0 / 1.29 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.208, allocations: 11.97 kB / 1.29 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/1.21, allocations: 1.811 MB / 1.292 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/1.21, allocations: 4 kB / 1.292 GB, free: 12.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.212, allocations: 407.4 kB / 1.292 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004213/1.212, allocations: 88.64 kB / 1.292 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/1.213, allocations: 51.94 kB / 1.292 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/1.214, allocations: 1.67 MB / 1.294 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.214, allocations: 0 / 1.294 GB, free: 9.652 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007374/1.222, allocations: 2.576 MB / 1.297 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006867/1.222, allocations: 467.1 kB / 1.297 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/1.223, allocations: 35.92 kB / 1.297 GB, free: 6.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001863/1.225, allocations: 223.7 kB / 1.297 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001969/1.225, allocations: 105.2 kB / 1.297 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/1.225, allocations: 67.88 kB / 1.297 GB, free: 6.148 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007562/1.226, allocations: 0.5849 MB / 1.298 GB, free: 5.566 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.21e-07/1.226, allocations: 0 / 1.298 GB, free: 5.566 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001281/1.227, allocations: 498.9 kB / 1.298 GB, free: 5.078 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,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of discrete states: 6 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 141 * 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.001532/1.229, allocations: 0.6478 MB / 1.299 GB, free: 4.605 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007072/1.236, allocations: 2.524 MB / 1.302 GB, free: 2.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.236, allocations: 4 kB / 1.302 GB, free: 2.066 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/1.239, allocations: 1.399 MB / 1.303 GB, free: 0.6523 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001493/1.241, allocations: 344.1 kB / 1.303 GB, free: 348 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006973/1.248, allocations: 3.12 MB / 1.306 GB, free: 13.19 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006666/1.248, allocations: 1.191 MB / 1.307 GB, free: 11.96 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001563/1.25, allocations: 481.4 kB / 1.308 GB, free: 11.49 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006477/1.251, allocations: 179.3 kB / 1.308 GB, free: 11.32 MB / 1.045 GB Notification: Performance of SimCode: time 7.11e-07/1.251, allocations: 0 / 1.308 GB, free: 11.32 MB / 1.045 GB Notification: Performance of Templates: time 0.03671/1.287, allocations: 24.38 MB / 1.332 GB, free: 3.102 MB / 1.061 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_Examples_SideFins.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.Examples.SideFins.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches