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.001181/0.001181, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.001239/0.001239, allocations: 187 kB / 17.34 MB, free: 5.742 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.343/1.343, allocations: 222.9 MB / 241 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.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.91 kB / 0.9515 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7749, allocations: 140.4 MB / 1.089 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.SideFins): time 0.006114/0.781, allocations: 5.094 MB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1886/0.9697, allocations: 151.2 MB / 1.241 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.9711, allocations: 20.69 kB / 1.241 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009931/0.9721, allocations: 201.4 kB / 1.242 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002785/0.9749, allocations: 0.5951 MB / 1.242 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.9779, allocations: 0.9737 MB / 1.243 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002455/0.9804, allocations: 1.779 MB / 1.245 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.982, allocations: 0.8233 MB / 1.246 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.9833, allocations: 0.6566 MB / 1.246 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.9846, allocations: 0.7197 MB / 1.247 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003832/0.985, allocations: 168 kB / 1.247 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001718/0.9867, allocations: 0.6401 MB / 1.248 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0005529/0.9873, allocations: 438.7 kB / 1.248 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.9884, allocations: 0.7462 MB / 1.249 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003428/0.9919, allocations: 2.167 MB / 1.251 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.9919, allocations: 0 / 1.251 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.627e-06/0.9919, allocations: 0 / 1.251 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.497e-05/0.992, allocations: 7.875 kB / 1.251 GB, free: 7.449 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.004597/0.9966, allocations: 1.791 MB / 1.253 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.9966, allocations: 8.031 kB / 1.253 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009791/1.006, allocations: 1.278 MB / 1.254 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/1.008, allocations: 0.9769 MB / 1.255 GB, free: 3.285 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.303e-05/1.009, allocations: 94.45 kB / 1.255 GB, free: 3.191 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/1.009, allocations: 120 kB / 1.255 GB, free: 3.074 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005577/1.014, allocations: 2.038 MB / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/1.015, allocations: 0 / 1.257 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/1.015, allocations: 52 kB / 1.257 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.313e-05/1.015, allocations: 28 kB / 1.257 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008106/1.023, allocations: 2.76 MB / 1.26 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009222/1.032, allocations: 4.434 MB / 1.264 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008972/1.041, allocations: 2.735 MB / 1.267 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/1.045, allocations: 1.04 MB / 1.268 GB, free: 5.809 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006964/1.045, allocations: 0.618 MB / 1.269 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004245/1.05, allocations: 1.356 MB / 1.27 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=132): time 3.667e-06/1.05, allocations: 0 / 1.27 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of matching and sorting (n=132): time 0.01296/1.063, allocations: 3.379 MB / 1.273 GB, free: 284 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/1.063, allocations: 205.2 kB / 1.273 GB, free: 32 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/1.064, allocations: 0.7706 MB / 1.274 GB, free: 15.25 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000313/1.064, allocations: 49.7 kB / 1.274 GB, free: 15.19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/1.065, allocations: 484.8 kB / 1.275 GB, free: 14.71 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/1.065, allocations: 429.8 kB / 1.275 GB, free: 14.29 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006265/1.066, allocations: 274.7 kB / 1.275 GB, free: 14.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000138/1.066, allocations: 345.9 kB / 1.276 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/1.07, allocations: 0.9704 MB / 1.277 GB, free: 12.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003766/1.074, allocations: 1.097 MB / 1.278 GB, free: 11.58 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006974/1.081, allocations: 1.927 MB / 1.28 GB, free: 9.637 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/1.081, allocations: 0 / 1.28 GB, free: 9.637 MB / 1.014 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008956/1.09, allocations: 2.327 MB / 1.282 GB, free: 7.297 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/1.09, allocations: 8 kB / 1.282 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.09, allocations: 0 / 1.282 GB, free: 7.289 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006467/1.09, allocations: 84.84 kB / 1.282 GB, free: 7.203 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/1.093, allocations: 427.3 kB / 1.282 GB, free: 6.785 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/1.095, allocations: 1.646 MB / 1.284 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002565/1.098, allocations: 285.4 kB / 1.284 GB, free: 4.719 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002963/1.098, allocations: 67.92 kB / 1.284 GB, free: 4.652 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.0009688/1.099, allocations: 336 kB / 1.285 GB, free: 4.312 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000463/1.1, allocations: 114.7 kB / 1.285 GB, free: 4.199 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008948/1.109, allocations: 2.723 MB / 1.287 GB, free: 1.461 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-05/1.109, allocations: 12 kB / 1.287 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.109, allocations: 0 / 1.287 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.137e-05/1.109, allocations: 7.969 kB / 1.287 GB, free: 1.441 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/1.12, allocations: 4.303 MB / 1.292 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/1.12, allocations: 0 / 1.292 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/1.122, allocations: 411.4 kB / 1.292 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004789/1.123, allocations: 76.78 kB / 1.292 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/1.123, allocations: 55.88 kB / 1.292 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/1.125, allocations: 1.681 MB / 1.294 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/1.125, allocations: 0 / 1.294 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008482/1.134, allocations: 2.485 MB / 1.296 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/1.134, allocations: 427 kB / 1.297 GB, free: 7.766 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003467/1.135, allocations: 31.98 kB / 1.297 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/1.137, allocations: 223.8 kB / 1.297 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/1.137, allocations: 109.2 kB / 1.297 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/1.137, allocations: 67.88 kB / 1.297 GB, free: 7.344 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0008571/1.138, allocations: 0.5498 MB / 1.297 GB, free: 6.797 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/1.138, allocations: 0 / 1.297 GB, free: 6.797 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001457/1.14, allocations: 483.1 kB / 1.298 GB, free: 6.324 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.001725/1.142, allocations: 0.6395 MB / 1.299 GB, free: 5.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007549/1.149, allocations: 2.352 MB / 1.301 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.149, allocations: 0 / 1.301 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.004078/1.153, allocations: 1.321 MB / 1.302 GB, free: 2.152 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.155, allocations: 329.7 kB / 1.302 GB, free: 1.855 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008396/1.163, allocations: 2.953 MB / 1.305 GB, free: 14.87 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009149/1.164, allocations: 1.155 MB / 1.306 GB, free: 13.68 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/1.166, allocations: 195.2 kB / 1.307 GB, free: 13.48 MB / 1.045 GB Notification: Performance of SimCode: time 2.134e-06/1.166, allocations: 0 / 1.307 GB, free: 13.48 MB / 1.045 GB Notification: Performance of Templates: time 0.0418/1.207, allocations: 28.43 MB / 1.334 GB, free: 1.117 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