Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007864, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.005194/0.005194, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.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.345/2.345, allocations: 390.9 MB / 0.6663 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7582/0.7585, allocations: 142.4 MB / 0.955 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008135/0.7667, allocations: 6.791 MB / 0.9617 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1696/0.9364, allocations: 151.9 MB / 1.11 GB, free: 140 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.9378, allocations: 31.75 kB / 1.11 GB, free: 108 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004732/0.9426, allocations: 1.791 MB / 1.112 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002855/0.9454, allocations: 1.052 MB / 1.113 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.9485, allocations: 1.245 MB / 1.114 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005083/0.9536, allocations: 5.197 MB / 1.119 GB, free: 6.816 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.9552, allocations: 1.23 MB / 1.12 GB, free: 5.535 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.9577, allocations: 1.268 MB / 1.122 GB, free: 4.262 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001871/0.9596, allocations: 1.291 MB / 1.123 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.9599, allocations: 68 kB / 1.123 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/0.9642, allocations: 2.216 MB / 1.125 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.003393/0.9676, allocations: 4.089 MB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.9694, allocations: 1.399 MB / 1.13 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008976/0.9784, allocations: 5.869 MB / 1.136 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9785, allocations: 0 / 1.136 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9785, allocations: 0 / 1.136 GB, free: 5.285 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001035/0.9786, allocations: 0 / 1.136 GB, free: 5.285 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.00709/0.9857, allocations: 3.479 MB / 1.139 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.9857, allocations: 8.031 kB / 1.139 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.9876, allocations: 436.4 kB / 1.14 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/1.002, allocations: 12.29 MB / 1.152 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002062/1.002, allocations: 175 kB / 1.152 GB, free: 4.762 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003887/1.003, allocations: 240 kB / 1.152 GB, free: 4.527 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004241/1.007, allocations: 2.389 MB / 1.155 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/1.007, allocations: 0 / 1.155 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/1.007, allocations: 71.98 kB / 1.155 GB, free: 2.012 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.985e-05/1.007, allocations: 40 kB / 1.155 GB, free: 1.973 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/1.011, allocations: 2.479 MB / 1.157 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02055/1.032, allocations: 15.18 MB / 1.172 GB, free: 176 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003232/1.035, allocations: 1.994 MB / 1.174 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/1.037, allocations: 1.285 MB / 1.175 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.45e-05/1.037, allocations: 37.02 kB / 1.175 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001994/1.039, allocations: 1.369 MB / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=138): time 2.815e-06/1.039, allocations: 0 / 1.177 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of matching and sorting (n=138): time 0.007184/1.046, allocations: 3.85 MB / 1.18 GB, free: 7.574 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002707/1.046, allocations: 370.5 kB / 1.181 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03471/1.081, allocations: 20.59 MB / 1.201 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.000602/1.082, allocations: 85.7 kB / 1.201 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001489/1.083, allocations: 1.163 MB / 1.202 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000612/1.084, allocations: 469.4 kB / 1.202 GB, free: 0.8203 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003692/1.088, allocations: 4.522 MB / 1.207 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001068/1.088, allocations: 301.1 kB / 1.207 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03535/1.123, allocations: 38.69 MB / 1.245 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5565/1.68, allocations: 40.07 MB / 1.284 GB, free: 263.8 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03133/1.711, allocations: 47.75 MB / 1.331 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.397e-05/1.711, allocations: 4 kB / 1.331 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06921/1.78, allocations: 90.98 MB / 1.42 GB, free: 125.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002479/1.781, allocations: 197.6 kB / 1.42 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.716e-05/1.781, allocations: 23.94 kB / 1.42 GB, free: 125.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006738/1.781, allocations: 114 kB / 1.42 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002494/1.784, allocations: 0.624 MB / 1.42 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/1.786, allocations: 1.565 MB / 1.422 GB, free: 123.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003059/1.789, allocations: 391.2 kB / 1.422 GB, free: 122.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/1.789, allocations: 158.8 kB / 1.423 GB, free: 122.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.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 (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * 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.002252/1.791, allocations: 2.508 MB / 1.425 GB, free: 120.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003872/1.792, allocations: 260.5 kB / 1.425 GB, free: 119.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004655/1.796, allocations: 3.501 MB / 1.429 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/1.796, allocations: 19.98 kB / 1.429 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/1.796, allocations: 0 / 1.429 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.796, allocations: 7.984 kB / 1.429 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/1.798, allocations: 2.079 MB / 1.431 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.798, allocations: 0 / 1.431 GB, free: 114.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008395/1.799, allocations: 219.8 kB / 1.431 GB, free: 114.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005199/1.8, allocations: 84.77 kB / 1.431 GB, free: 114 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-05/1.8, allocations: 39.97 kB / 1.431 GB, free: 114 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/1.801, allocations: 1.544 MB / 1.433 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.801, allocations: 3.938 kB / 1.433 GB, free: 112.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004188/1.806, allocations: 3.355 MB / 1.436 GB, free: 108.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008973/1.807, allocations: 0.6296 MB / 1.436 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000273/1.807, allocations: 28 kB / 1.436 GB, free: 108.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/1.808, allocations: 123.9 kB / 1.437 GB, free: 108.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/1.808, allocations: 97.17 kB / 1.437 GB, free: 108 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/1.808, allocations: 71.95 kB / 1.437 GB, free: 107.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.007938/1.816, allocations: 12.79 MB / 1.449 GB, free: 95.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.71e-07/1.816, allocations: 0 / 1.449 GB, free: 95.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004144/1.82, allocations: 1.763 MB / 1.451 GB, free: 93.46 MB / 0.9981 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,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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.002365/1.823, allocations: 1.015 MB / 1.452 GB, free: 92.73 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0322/1.855, allocations: 50.92 MB / 1.502 GB, free: 41.78 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/1.855, allocations: 4 kB / 1.502 GB, free: 41.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002591/1.858, allocations: 2.721 MB / 1.504 GB, free: 39.03 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/1.86, allocations: 453.8 kB / 1.505 GB, free: 38.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.881, allocations: 21.34 MB / 1.526 GB, free: 17.21 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.885, allocations: 4.643 MB / 1.53 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001993/1.887, allocations: 0.6524 MB / 1.531 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000543/1.887, allocations: 219.3 kB / 1.531 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of SimCode: time 7.22e-07/1.887, allocations: 0 / 1.531 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of Templates: time 0.09463/1.982, allocations: 51.35 MB / 1.581 GB, free: 8.582 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches