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.001115/0.001115, allocations: 119.2 kB / 16.42 MB, free: 6.492 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.001016/0.001016, allocations: 183.9 kB / 17.34 MB, free: 5.746 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.2 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.418/2.418, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 63.89 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6706/0.6719, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008123/0.68, allocations: 7.299 MB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.8293, allocations: 155.5 MB / 1.326 GB, free: 472 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001072/0.8304, allocations: 23.88 kB / 1.326 GB, free: 448 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004195/0.8346, allocations: 1.816 MB / 1.328 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.837, allocations: 0.8754 MB / 1.329 GB, free: 13.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.8392, allocations: 1.029 MB / 1.33 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.003254/0.8425, allocations: 3.583 MB / 1.333 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001123/0.8436, allocations: 0.9133 MB / 1.334 GB, free: 8.164 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001315/0.8449, allocations: 1.173 MB / 1.336 GB, free: 6.988 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/0.8461, allocations: 1.039 MB / 1.337 GB, free: 5.945 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002595/0.8464, allocations: 196 kB / 1.337 GB, free: 5.754 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00321/0.8496, allocations: 2.255 MB / 1.339 GB, free: 3.496 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.851, allocations: 1.911 MB / 1.341 GB, free: 1.582 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.8521, allocations: 1.174 MB / 1.342 GB, free: 412 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005176/0.8573, allocations: 4.45 MB / 1.346 GB, free: 11.94 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.8573, allocations: 0 / 1.346 GB, free: 11.94 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8573, allocations: 3.938 kB / 1.346 GB, free: 11.93 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.503e-05/0.8574, allocations: 0 / 1.346 GB, free: 11.93 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.004501/0.8619, allocations: 3.074 MB / 1.349 GB, free: 8.785 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.8619, allocations: 8.922 kB / 1.349 GB, free: 8.777 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008577/0.8628, allocations: 319.1 kB / 1.35 GB, free: 8.465 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/0.8672, allocations: 4.596 MB / 1.354 GB, free: 3.82 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.552e-05/0.8673, allocations: 134.4 kB / 1.354 GB, free: 3.688 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.8675, allocations: 180 kB / 1.354 GB, free: 3.512 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.8699, allocations: 1.66 MB / 1.356 GB, free: 1.789 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.8699, allocations: 0 / 1.356 GB, free: 1.789 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.87, allocations: 60 kB / 1.356 GB, free: 1.73 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.8701, allocations: 28 kB / 1.356 GB, free: 1.703 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.8725, allocations: 1.734 MB / 1.358 GB, free: 15.96 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00922/0.8818, allocations: 7.391 MB / 1.365 GB, free: 8.395 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/0.884, allocations: 1.583 MB / 1.367 GB, free: 6.809 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001128/0.8851, allocations: 1.042 MB / 1.368 GB, free: 5.766 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 8.287e-05/0.8852, allocations: 32.95 kB / 1.368 GB, free: 5.734 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/0.8865, allocations: 0.9733 MB / 1.369 GB, free: 4.746 MB / 1.092 GB Notification: Performance of pre-optimization done (n=118): time 3.236e-06/0.8865, allocations: 0 / 1.369 GB, free: 4.746 MB / 1.092 GB Notification: Performance of matching and sorting (n=118): time 0.003921/0.8905, allocations: 2.853 MB / 1.371 GB, free: 1.883 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/0.8907, allocations: 342.5 kB / 1.372 GB, free: 1.496 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008791/0.8995, allocations: 7.394 MB / 1.379 GB, free: 10.05 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.8998, allocations: 69.7 kB / 1.379 GB, free: 9.977 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/0.9004, allocations: 0.8051 MB / 1.38 GB, free: 9.168 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003299/0.9008, allocations: 412.5 kB / 1.38 GB, free: 8.762 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001464/0.9022, allocations: 1.911 MB / 1.382 GB, free: 6.836 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.267e-05/0.9023, allocations: 309.1 kB / 1.382 GB, free: 6.531 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0109/0.9132, allocations: 12.99 MB / 1.395 GB, free: 9.539 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01191/0.9252, allocations: 13.7 MB / 1.408 GB, free: 11.66 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/0.9402, allocations: 17.1 MB / 1.425 GB, free: 10.29 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/0.9403, allocations: 7.938 kB / 1.425 GB, free: 10.28 MB / 1.154 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02902/0.9693, allocations: 31.28 MB / 1.456 GB, free: 10.79 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.9695, allocations: 185.5 kB / 1.456 GB, free: 10.61 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.771e-05/0.9696, allocations: 12 kB / 1.456 GB, free: 10.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.528e-05/0.9696, allocations: 23.94 kB / 1.456 GB, free: 10.57 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.9714, allocations: 475.2 kB / 1.456 GB, free: 10.11 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.986e-05/0.9715, allocations: 31.88 kB / 1.456 GB, free: 10.07 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.9732, allocations: 286 kB / 1.457 GB, free: 9.793 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.9735, allocations: 115.9 kB / 1.457 GB, free: 9.68 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.001458/0.9749, allocations: 1.231 MB / 1.458 GB, free: 8.434 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.9753, allocations: 190.7 kB / 1.458 GB, free: 8.246 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/0.9792, allocations: 2.745 MB / 1.461 GB, free: 5.488 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.9792, allocations: 7.969 kB / 1.461 GB, free: 5.48 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.9792, allocations: 4 kB / 1.461 GB, free: 5.477 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006323/0.9799, allocations: 431.4 kB / 1.461 GB, free: 5.035 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.9801, allocations: 28 kB / 1.461 GB, free: 5.008 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008563/0.981, allocations: 78.33 kB / 1.461 GB, free: 4.934 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.9812, allocations: 92.77 kB / 1.461 GB, free: 4.84 MB / 1.186 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003699/0.9849, allocations: 2.975 MB / 1.464 GB, free: 1.844 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003373/0.9883, allocations: 2.788 MB / 1.467 GB, free: 15.03 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001617/0.9899, allocations: 1.75 MB / 1.469 GB, free: 13.28 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.004027/0.9939, allocations: 4.648 MB / 1.473 GB, free: 8.605 MB / 1.201 GB Notification: Performance of Backend: time 2.61e-07/0.994, allocations: 0 / 1.473 GB, free: 8.605 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01852/1.012, allocations: 19.12 MB / 1.492 GB, free: 5.668 MB / 1.217 GB Notification: Performance of SimCode: time 0.01072/1.023, allocations: 8.759 MB / 1.5 GB, free: 12.84 MB / 1.232 GB Notification: Performance of Templates: time 0.08372/1.107, allocations: 38.58 MB / 1.538 GB, free: 6.383 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