Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001794/0.001794, allocations: 115.5 kB / 16.81 MB, free: 5.77 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.001961/0.001961, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.447/1.447, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7556 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 73.47 kB / 1.097 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2923, allocations: 168.7 MB / 1.262 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009736/0.3021, allocations: 7.289 MB / 1.269 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1779/0.48, allocations: 156 MB / 1.422 GB, free: 9.051 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001258/0.4812, allocations: 23.88 kB / 1.422 GB, free: 9.027 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.004713/0.4859, allocations: 1.825 MB / 1.423 GB, free: 7.195 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002436/0.4884, allocations: 0.8619 MB / 1.424 GB, free: 6.332 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002414/0.4908, allocations: 1.052 MB / 1.425 GB, free: 5.285 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.003726/0.4945, allocations: 3.524 MB / 1.429 GB, free: 1.754 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.4955, allocations: 0.6368 MB / 1.429 GB, free: 1.062 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.497, allocations: 1.153 MB / 1.43 GB, free: 15.9 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.4985, allocations: 1.125 MB / 1.431 GB, free: 14.78 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0003049/0.4988, allocations: 192 kB / 1.432 GB, free: 14.59 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003761/0.5025, allocations: 2.313 MB / 1.434 GB, free: 12.27 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.5042, allocations: 1.919 MB / 1.436 GB, free: 10.35 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001233/0.5055, allocations: 1.174 MB / 1.437 GB, free: 9.172 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.005713/0.5112, allocations: 4.446 MB / 1.441 GB, free: 4.711 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5112, allocations: 0 / 1.441 GB, free: 4.711 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5112, allocations: 0 / 1.441 GB, free: 4.711 MB / 1.154 GB Notification: Performance of Transformations before backend: time 3.528e-05/0.5112, allocations: 0 / 1.441 GB, free: 4.711 MB / 1.154 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.005176/0.5164, allocations: 3.086 MB / 1.444 GB, free: 1.551 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.5164, allocations: 8.031 kB / 1.444 GB, free: 1.543 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009391/0.5174, allocations: 307.2 kB / 1.445 GB, free: 1.242 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005286/0.5227, allocations: 4.604 MB / 1.449 GB, free: 12.59 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.5228, allocations: 134.4 kB / 1.449 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/0.5231, allocations: 176 kB / 1.449 GB, free: 12.29 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002729/0.5258, allocations: 1.668 MB / 1.451 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.619e-05/0.5258, allocations: 0 / 1.451 GB, free: 10.55 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.5259, allocations: 52 kB / 1.451 GB, free: 10.5 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.792e-05/0.526, allocations: 28 kB / 1.451 GB, free: 10.48 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.5287, allocations: 1.726 MB / 1.453 GB, free: 8.742 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01064/0.5394, allocations: 7.403 MB / 1.46 GB, free: 1.164 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.5417, allocations: 1.283 MB / 1.461 GB, free: 15.88 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.5428, allocations: 0.7652 MB / 1.462 GB, free: 15.11 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-05/0.5429, allocations: 37.17 kB / 1.462 GB, free: 15.07 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001498/0.5444, allocations: 0.9772 MB / 1.463 GB, free: 14.08 MB / 1.186 GB Notification: Performance of pre-optimization done (n=118): time 3.867e-06/0.5444, allocations: 4 kB / 1.463 GB, free: 14.08 MB / 1.186 GB Notification: Performance of matching and sorting (n=118): time 0.004665/0.549, allocations: 2.849 MB / 1.466 GB, free: 11.22 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002589/0.5493, allocations: 342.5 kB / 1.466 GB, free: 10.84 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01053/0.5598, allocations: 7.398 MB / 1.473 GB, free: 3.391 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003345/0.5602, allocations: 69.7 kB / 1.473 GB, free: 3.316 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008386/0.561, allocations: 0.8052 MB / 1.474 GB, free: 2.504 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/0.5614, allocations: 404.5 kB / 1.475 GB, free: 2.105 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00179/0.5632, allocations: 1.915 MB / 1.476 GB, free: 180 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5633, allocations: 301.1 kB / 1.477 GB, free: 15.88 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01314/0.5765, allocations: 12.99 MB / 1.489 GB, free: 2.883 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01437/0.5908, allocations: 13.7 MB / 1.503 GB, free: 5.012 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01748/0.6083, allocations: 17.1 MB / 1.52 GB, free: 3.637 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.169e-05/0.6083, allocations: 7.938 kB / 1.52 GB, free: 3.629 MB / 1.232 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03423/0.6426, allocations: 31.28 MB / 1.55 GB, free: 4.148 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002439/0.6428, allocations: 183.6 kB / 1.55 GB, free: 3.965 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.928e-05/0.6428, allocations: 12.06 kB / 1.55 GB, free: 3.953 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.213e-05/0.6429, allocations: 24 kB / 1.55 GB, free: 3.93 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.6448, allocations: 471.8 kB / 1.551 GB, free: 3.469 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.002e-05/0.6449, allocations: 35.92 kB / 1.551 GB, free: 3.434 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.6466, allocations: 292 kB / 1.551 GB, free: 3.152 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002046/0.6468, allocations: 119.9 kB / 1.551 GB, free: 3.035 MB / 1.264 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.001604/0.6484, allocations: 1.235 MB / 1.552 GB, free: 1.785 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/0.6487, allocations: 190.7 kB / 1.553 GB, free: 1.598 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5552/1.204, allocations: 2.749 MB / 1.555 GB, free: 290.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.204, allocations: 5.062 kB / 1.555 GB, free: 290.5 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.204, allocations: 1.25 kB / 1.555 GB, free: 290.5 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007888/1.205, allocations: 436.3 kB / 1.556 GB, free: 290.4 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002851/1.205, allocations: 31.73 kB / 1.556 GB, free: 290.4 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/1.206, allocations: 76.53 kB / 1.556 GB, free: 290.4 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/1.206, allocations: 82.34 kB / 1.556 GB, free: 290.4 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004357/1.21, allocations: 2.998 MB / 1.559 GB, free: 290 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003774/1.214, allocations: 2.802 MB / 1.561 GB, free: 289.1 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001243/1.215, allocations: 0.9347 MB / 1.562 GB, free: 288.9 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004456/1.22, allocations: 4.65 MB / 1.567 GB, free: 287.6 MB / 1.264 GB Notification: Performance of Backend: time 4e-07/1.22, allocations: 0 / 1.567 GB, free: 287.6 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0159/1.236, allocations: 15.05 MB / 1.582 GB, free: 283 MB / 1.264 GB Notification: Performance of SimCode: time 0.00852/1.244, allocations: 8.756 MB / 1.59 GB, free: 274.9 MB / 1.264 GB Notification: Performance of Templates: time 0.05505/1.299, allocations: 39.7 MB / 1.629 GB, free: 238 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches