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.009797/0.009797, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.002257/0.002257, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.489/1.489, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.3/2.3, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 68.12 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9467/0.9482, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.Examples.SideFins): time 0.007163/0.9554, allocations: 5.259 MB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.2197/1.175, allocations: 151.4 MB / 1.241 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001763/1.177, allocations: 25.5 kB / 1.241 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008547/1.178, allocations: 205.3 kB / 1.241 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002962/1.181, allocations: 0.6162 MB / 1.242 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003123/1.184, allocations: 0.9905 MB / 1.243 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002895/1.187, allocations: 1.893 MB / 1.245 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/1.188, allocations: 0.9105 MB / 1.245 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001366/1.19, allocations: 0.7187 MB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009598/1.191, allocations: 0.7703 MB / 1.247 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002326/1.191, allocations: 192 kB / 1.247 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/1.192, allocations: 0.6674 MB / 1.248 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004709/1.193, allocations: 482.6 kB / 1.248 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008157/1.194, allocations: 0.8201 MB / 1.249 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003264/1.197, allocations: 2.433 MB / 1.251 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.197, allocations: 0 / 1.251 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.004e-06/1.197, allocations: 0 / 1.251 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.546e-05/1.197, allocations: 4 kB / 1.251 GB, free: 6.305 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.003799/1.201, allocations: 1.931 MB / 1.253 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/1.201, allocations: 16.02 kB / 1.253 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009436/1.21, allocations: 1.291 MB / 1.255 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/1.213, allocations: 1.06 MB / 1.256 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.213, allocations: 106.7 kB / 1.256 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/1.213, allocations: 132 kB / 1.256 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005867/1.219, allocations: 2.209 MB / 1.258 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/1.219, allocations: 0 / 1.258 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/1.219, allocations: 52 kB / 1.258 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/1.219, allocations: 32 kB / 1.258 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008466/1.228, allocations: 2.972 MB / 1.261 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/1.24, allocations: 5.034 MB / 1.266 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00903/1.249, allocations: 2.88 MB / 1.269 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003657/1.253, allocations: 1.125 MB / 1.27 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007258/1.254, allocations: 0.6105 MB / 1.27 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004411/1.258, allocations: 1.442 MB / 1.272 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=133): time 6.151e-06/1.258, allocations: 0 / 1.272 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133): time 0.01257/1.271, allocations: 3.629 MB / 1.275 GB, free: 13.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/1.271, allocations: 197.2 kB / 1.276 GB, free: 13.11 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001499/1.272, allocations: 0.8138 MB / 1.276 GB, free: 12.29 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/1.273, allocations: 49.7 kB / 1.276 GB, free: 12.23 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005501/1.273, allocations: 0.5211 MB / 1.277 GB, free: 11.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005799/1.274, allocations: 460.1 kB / 1.277 GB, free: 11.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006468/1.274, allocations: 266.8 kB / 1.278 GB, free: 10.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.275, allocations: 349.9 kB / 1.278 GB, free: 10.64 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003348/1.278, allocations: 1.056 MB / 1.279 GB, free: 9.582 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003578/1.281, allocations: 1.179 MB / 1.28 GB, free: 8.383 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006762/1.288, allocations: 2.063 MB / 1.282 GB, free: 6.301 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/1.288, allocations: 11.81 kB / 1.282 GB, free: 6.289 MB / 1.014 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.008285/1.297, allocations: 2.48 MB / 1.285 GB, free: 3.797 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/1.297, allocations: 8.062 kB / 1.285 GB, free: 3.789 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.297, allocations: 4 kB / 1.285 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006409/1.297, allocations: 88.7 kB / 1.285 GB, free: 3.695 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002639/1.3, allocations: 431.3 kB / 1.285 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/1.302, allocations: 1.657 MB / 1.287 GB, free: 1.473 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00256/1.305, allocations: 286.9 kB / 1.287 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/1.305, allocations: 67.92 kB / 1.287 GB, free: 1.125 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.001135/1.306, allocations: 356.9 kB / 1.287 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005696/1.307, allocations: 123.2 kB / 1.287 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009235/1.316, allocations: 2.88 MB / 1.29 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/1.316, allocations: 16 kB / 1.29 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.316, allocations: 0 / 1.29 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/1.316, allocations: 11.91 kB / 1.29 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/1.319, allocations: 1.808 MB / 1.292 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.471e-05/1.319, allocations: 0 / 1.292 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002557/1.322, allocations: 411.4 kB / 1.292 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005483/1.322, allocations: 72.78 kB / 1.293 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/1.323, allocations: 51.94 kB / 1.293 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002534/1.325, allocations: 1.678 MB / 1.294 GB, free: 9.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.325, allocations: 7.969 kB / 1.294 GB, free: 9.508 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00832/1.334, allocations: 2.581 MB / 1.297 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.335, allocations: 475.7 kB / 1.297 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/1.335, allocations: 28 kB / 1.297 GB, free: 6.387 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.338, allocations: 231.7 kB / 1.297 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002504/1.338, allocations: 101.1 kB / 1.298 GB, free: 6.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/1.338, allocations: 67.92 kB / 1.298 GB, free: 5.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00105/1.339, allocations: 0.5771 MB / 1.298 GB, free: 5.422 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.51e-07/1.339, allocations: 0 / 1.298 GB, free: 5.422 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001785/1.341, allocations: 0.495 MB / 1.299 GB, free: 4.926 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.001936/1.343, allocations: 0.6494 MB / 1.299 GB, free: 4.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007968/1.351, allocations: 2.535 MB / 1.302 GB, free: 1.906 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/1.351, allocations: 0 / 1.302 GB, free: 1.906 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004137/1.355, allocations: 1.4 MB / 1.303 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/1.357, allocations: 333.1 kB / 1.303 GB, free: 192 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008507/1.365, allocations: 3.164 MB / 1.307 GB, free: 13 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.367, allocations: 1.187 MB / 1.308 GB, free: 11.77 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002059/1.369, allocations: 493.4 kB / 1.308 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/1.369, allocations: 171.2 kB / 1.308 GB, free: 11.12 MB / 1.045 GB Notification: Performance of SimCode: time 7.01e-07/1.369, allocations: 4 kB / 1.308 GB, free: 11.12 MB / 1.045 GB Notification: Performance of Templates: time 0.04411/1.414, allocations: 23.9 MB / 1.332 GB, free: 3.379 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