Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.0009576/0.0009576, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.16 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.128/2.128, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.89 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6596/0.6609, allocations: 140.3 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.006659/0.6676, allocations: 6.054 MB / 1.095 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1668/0.8344, allocations: 155.4 MB / 1.246 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001254/0.8357, allocations: 24.62 kB / 1.246 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004107/0.8398, allocations: 1.79 MB / 1.248 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.8418, allocations: 0.753 MB / 1.249 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.844, allocations: 1.018 MB / 1.25 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002645/0.8467, allocations: 3.379 MB / 1.253 GB, free: 5.473 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.8478, allocations: 0.9438 MB / 1.254 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.8489, allocations: 1.141 MB / 1.255 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001046/0.8499, allocations: 1.031 MB / 1.256 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002536/0.8502, allocations: 196 kB / 1.256 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003046/0.8533, allocations: 2.239 MB / 1.258 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0013/0.8546, allocations: 1.915 MB / 1.26 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008959/0.8555, allocations: 1.135 MB / 1.261 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004/0.8595, allocations: 4.363 MB / 1.266 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.8595, allocations: 0 / 1.266 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.8595, allocations: 0 / 1.266 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.206e-05/0.8595, allocations: 0 / 1.266 GB, free: 8.441 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004228/0.8638, allocations: 2.966 MB / 1.269 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.8638, allocations: 8.031 kB / 1.269 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008309/0.8647, allocations: 297.8 kB / 1.269 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.8692, allocations: 4.58 MB / 1.273 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.129e-05/0.8693, allocations: 130.4 kB / 1.274 GB, free: 360 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002161/0.8696, allocations: 184 kB / 1.274 GB, free: 176 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.872, allocations: 1.66 MB / 1.275 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.872, allocations: 3.938 kB / 1.275 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.8721, allocations: 52 kB / 1.275 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-05/0.8722, allocations: 32 kB / 1.275 GB, free: 14.36 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002443/0.8746, allocations: 1.719 MB / 1.277 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009261/0.8839, allocations: 6.99 MB / 1.284 GB, free: 5.566 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/0.8862, allocations: 1.587 MB / 1.285 GB, free: 3.973 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/0.8873, allocations: 1.035 MB / 1.286 GB, free: 2.93 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.422e-05/0.8874, allocations: 37.02 kB / 1.286 GB, free: 2.895 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001317/0.8887, allocations: 0.9849 MB / 1.287 GB, free: 1.898 MB / 1.014 GB Notification: Performance of pre-optimization done (n=118): time 4.388e-06/0.8888, allocations: 0 / 1.287 GB, free: 1.898 MB / 1.014 GB Notification: Performance of matching and sorting (n=118): time 0.003852/0.8926, allocations: 2.848 MB / 1.29 GB, free: 15.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002019/0.8928, allocations: 342.5 kB / 1.291 GB, free: 14.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00889/0.9017, allocations: 7.382 MB / 1.298 GB, free: 7.223 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002456/0.902, allocations: 77.64 kB / 1.298 GB, free: 7.141 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000666/0.9027, allocations: 0.7882 MB / 1.299 GB, free: 6.344 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.903, allocations: 394.5 kB / 1.299 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/0.9045, allocations: 1.884 MB / 1.301 GB, free: 4.051 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/0.9046, allocations: 301.1 kB / 1.301 GB, free: 3.754 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0112/0.9158, allocations: 12.99 MB / 1.314 GB, free: 6.754 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01199/0.9279, allocations: 13.7 MB / 1.327 GB, free: 8.879 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/0.9428, allocations: 17.09 MB / 1.344 GB, free: 7.512 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.472e-05/0.9428, allocations: 11.94 kB / 1.344 GB, free: 7.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02947/0.9723, allocations: 31.27 MB / 1.374 GB, free: 8.031 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.9726, allocations: 177.6 kB / 1.375 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/0.9726, allocations: 12 kB / 1.375 GB, free: 7.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.819e-05/0.9727, allocations: 24 kB / 1.375 GB, free: 7.816 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.9746, allocations: 471.3 kB / 1.375 GB, free: 7.355 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-05/0.9746, allocations: 39.84 kB / 1.375 GB, free: 7.316 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/0.9764, allocations: 273.4 kB / 1.375 GB, free: 7.047 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002958/0.9767, allocations: 112 kB / 1.375 GB, free: 6.938 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (290): * Single equations (assignments): 276 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001547/0.9782, allocations: 1.231 MB / 1.377 GB, free: 5.688 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.9786, allocations: 177.6 kB / 1.377 GB, free: 5.512 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003955/0.9826, allocations: 2.741 MB / 1.38 GB, free: 2.75 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.9826, allocations: 3.984 kB / 1.38 GB, free: 2.746 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.9826, allocations: 3.938 kB / 1.38 GB, free: 2.742 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007159/0.9834, allocations: 430.3 kB / 1.38 GB, free: 2.301 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.9836, allocations: 27.91 kB / 1.38 GB, free: 2.273 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008635/0.9845, allocations: 77.81 kB / 1.38 GB, free: 2.199 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.9847, allocations: 92.8 kB / 1.38 GB, free: 2.109 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003729/0.9884, allocations: 2.971 MB / 1.383 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003413/0.9919, allocations: 2.787 MB / 1.386 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001651/0.9935, allocations: 1.75 MB / 1.387 GB, free: 10.55 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004034/0.9976, allocations: 4.644 MB / 1.392 GB, free: 5.879 MB / 1.123 GB Notification: Performance of Backend: time 3.8e-07/0.9976, allocations: 0 / 1.392 GB, free: 5.879 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01867/1.016, allocations: 19.1 MB / 1.411 GB, free: 2.996 MB / 1.139 GB Notification: Performance of SimCode: time 0.01012/1.026, allocations: 8.612 MB / 1.419 GB, free: 10.33 MB / 1.154 GB Notification: Performance of Templates: time 0.0786/1.105, allocations: 37.83 MB / 1.456 GB, free: 4.652 MB / 1.186 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches