Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001083/0.001083, allocations: 111.5 kB / 16.42 MB, free: 6.426 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.001042/0.001042, allocations: 190.7 kB / 17.35 MB, free: 5.688 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.325/1.325, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.422/2.422, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.6731, allocations: 151.6 MB / 1.167 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008589/0.6817, allocations: 7.292 MB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1526/0.8343, allocations: 155.5 MB / 1.326 GB, free: 0.5586 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001223/0.8356, allocations: 23.88 kB / 1.326 GB, free: 0.5352 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004602/0.8402, allocations: 1.821 MB / 1.328 GB, free: 14.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002673/0.8429, allocations: 0.8739 MB / 1.329 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002515/0.8455, allocations: 1.022 MB / 1.33 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003775/0.8492, allocations: 3.586 MB / 1.333 GB, free: 9.219 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001398/0.8507, allocations: 0.9172 MB / 1.334 GB, free: 8.254 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001712/0.8524, allocations: 1.169 MB / 1.335 GB, free: 7.082 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.8541, allocations: 1.047 MB / 1.337 GB, free: 6.031 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005992/0.8547, allocations: 196 kB / 1.337 GB, free: 5.84 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.8585, allocations: 2.251 MB / 1.339 GB, free: 3.586 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001668/0.8601, allocations: 1.907 MB / 1.341 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001672/0.8618, allocations: 1.185 MB / 1.342 GB, free: 496 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006067/0.8679, allocations: 4.438 MB / 1.346 GB, free: 12.03 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.8679, allocations: 4 kB / 1.346 GB, free: 12.03 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.585e-06/0.8679, allocations: 4 kB / 1.346 GB, free: 12.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.78e-05/0.868, allocations: 3.938 kB / 1.346 GB, free: 12.02 MB / 1.076 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.005714/0.8737, allocations: 3.071 MB / 1.349 GB, free: 8.875 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.8738, allocations: 8.625 kB / 1.349 GB, free: 8.867 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001004/0.8748, allocations: 319.2 kB / 1.35 GB, free: 8.555 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004858/0.8797, allocations: 4.6 MB / 1.354 GB, free: 3.906 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.8798, allocations: 126.4 kB / 1.354 GB, free: 3.781 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/0.8801, allocations: 192 kB / 1.354 GB, free: 3.594 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/0.8827, allocations: 1.656 MB / 1.356 GB, free: 1.875 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.8828, allocations: 0 / 1.356 GB, free: 1.875 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.8829, allocations: 59.94 kB / 1.356 GB, free: 1.816 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/0.8829, allocations: 28 kB / 1.356 GB, free: 1.789 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/0.8855, allocations: 1.726 MB / 1.358 GB, free: 56 kB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009742/0.8952, allocations: 7.392 MB / 1.365 GB, free: 8.488 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.8975, allocations: 1.583 MB / 1.367 GB, free: 6.902 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/0.8987, allocations: 1.042 MB / 1.368 GB, free: 5.859 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.074e-05/0.8988, allocations: 29.19 kB / 1.368 GB, free: 5.832 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.9001, allocations: 0.9811 MB / 1.369 GB, free: 4.836 MB / 1.092 GB Notification: Performance of pre-optimization done (n=118): time 3.386e-06/0.9001, allocations: 0 / 1.369 GB, free: 4.836 MB / 1.092 GB Notification: Performance of matching and sorting (n=118): time 0.004075/0.9042, allocations: 2.856 MB / 1.371 GB, free: 1.969 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001866/0.9044, allocations: 342.5 kB / 1.372 GB, free: 1.582 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009233/0.9136, allocations: 7.39 MB / 1.379 GB, free: 10.14 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.9139, allocations: 73.7 kB / 1.379 GB, free: 10.07 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007452/0.9147, allocations: 0.7974 MB / 1.38 GB, free: 9.262 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.00039/0.9151, allocations: 412.5 kB / 1.38 GB, free: 8.855 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/0.9168, allocations: 1.915 MB / 1.382 GB, free: 6.926 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.206e-05/0.9169, allocations: 305.1 kB / 1.382 GB, free: 6.625 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01172/0.9286, allocations: 12.99 MB / 1.395 GB, free: 9.621 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/0.9407, allocations: 13.7 MB / 1.408 GB, free: 11.75 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/0.9563, allocations: 17.1 MB / 1.425 GB, free: 10.37 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-05/0.9563, allocations: 7.938 kB / 1.425 GB, free: 10.36 MB / 1.154 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03/0.9863, allocations: 31.28 MB / 1.456 GB, free: 10.88 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/0.9866, allocations: 185.6 kB / 1.456 GB, free: 10.7 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.167e-05/0.9866, allocations: 8 kB / 1.456 GB, free: 10.69 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.203e-05/0.9867, allocations: 24 kB / 1.456 GB, free: 10.66 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001873/0.9886, allocations: 475.2 kB / 1.456 GB, free: 10.2 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.344e-05/0.9886, allocations: 31.88 kB / 1.456 GB, free: 10.17 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.9904, allocations: 296.1 kB / 1.457 GB, free: 9.879 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003487/0.9908, allocations: 104 kB / 1.457 GB, free: 9.777 MB / 1.186 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.001631/0.9924, allocations: 1.239 MB / 1.458 GB, free: 8.523 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004289/0.9928, allocations: 186.7 kB / 1.458 GB, free: 8.34 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004025/0.9969, allocations: 2.745 MB / 1.461 GB, free: 5.582 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.9969, allocations: 7.969 kB / 1.461 GB, free: 5.574 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.9969, allocations: 0 / 1.461 GB, free: 5.574 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.9976, allocations: 435.4 kB / 1.461 GB, free: 5.129 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.9979, allocations: 28 kB / 1.461 GB, free: 5.102 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008831/0.9988, allocations: 71.92 kB / 1.461 GB, free: 5.031 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.999, allocations: 84.83 kB / 1.461 GB, free: 4.945 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003764/1.003, allocations: 2.983 MB / 1.464 GB, free: 1.941 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003423/1.006, allocations: 2.792 MB / 1.467 GB, free: 15.12 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001665/1.008, allocations: 1.75 MB / 1.469 GB, free: 13.37 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004124/1.012, allocations: 4.648 MB / 1.473 GB, free: 8.695 MB / 1.201 GB Notification: Performance of Backend: time 4.7e-07/1.012, allocations: 4 kB / 1.473 GB, free: 8.691 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01859/1.031, allocations: 19.11 MB / 1.492 GB, free: 5.766 MB / 1.217 GB Notification: Performance of SimCode: time 0.01072/1.041, allocations: 8.764 MB / 1.5 GB, free: 12.94 MB / 1.232 GB Notification: Performance of Templates: time 0.08204/1.123, allocations: 38.59 MB / 1.538 GB, free: 6.469 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches