Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002264/0.002264, allocations: 210 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.554/1.554, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.068/3.068, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002048/0.002048, allocations: 76.19 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3066, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009166/0.3158, allocations: 6.488 MB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.3017/0.6175, allocations: 137.1 MB / 1.467 GB, free: 0.832 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.6192, allocations: 39.69 kB / 1.467 GB, free: 0.793 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.007926/0.6271, allocations: 1.938 MB / 1.469 GB, free: 14.85 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.6316, allocations: 0.8718 MB / 1.47 GB, free: 13.97 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004823/0.6364, allocations: 1.089 MB / 1.471 GB, free: 12.89 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.007236/0.6436, allocations: 3.82 MB / 1.475 GB, free: 9.062 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001247/0.6449, allocations: 0.6333 MB / 1.476 GB, free: 8.375 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.6469, allocations: 1.192 MB / 1.477 GB, free: 7.18 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.6484, allocations: 1.133 MB / 1.478 GB, free: 6.043 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.6487, allocations: 196 kB / 1.478 GB, free: 5.852 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.6531, allocations: 2.676 MB / 1.481 GB, free: 3.172 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.6549, allocations: 1.927 MB / 1.482 GB, free: 1.242 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.6561, allocations: 0.9563 MB / 1.483 GB, free: 288 kB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006533/0.6626, allocations: 4.547 MB / 1.488 GB, free: 11.72 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6626, allocations: 0 / 1.488 GB, free: 11.72 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6626, allocations: 4 kB / 1.488 GB, free: 11.71 MB / 1.186 GB Notification: Performance of Transformations before backend: time 3.883e-05/0.6627, allocations: 0 / 1.488 GB, free: 11.71 MB / 1.186 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.005474/0.6681, allocations: 3.007 MB / 1.491 GB, free: 8.652 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.6682, allocations: 8.031 kB / 1.491 GB, free: 8.645 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/0.6702, allocations: 383.1 kB / 1.491 GB, free: 8.27 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005922/0.6761, allocations: 4.525 MB / 1.496 GB, free: 3.703 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001287/0.6762, allocations: 134.4 kB / 1.496 GB, free: 3.57 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/0.6765, allocations: 184 kB / 1.496 GB, free: 3.391 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.6795, allocations: 1.858 MB / 1.498 GB, free: 1.402 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.633e-05/0.6795, allocations: 0 / 1.498 GB, free: 1.402 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.6796, allocations: 52 kB / 1.498 GB, free: 1.352 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.6796, allocations: 28 kB / 1.498 GB, free: 1.324 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.6823, allocations: 1.615 MB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.6929, allocations: 6.344 MB / 1.506 GB, free: 9.285 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002232/0.6951, allocations: 1.226 MB / 1.507 GB, free: 8.047 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.6962, allocations: 0.7121 MB / 1.507 GB, free: 7.328 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 8.612e-05/0.6963, allocations: 28.97 kB / 1.507 GB, free: 7.297 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.6978, allocations: 0.9955 MB / 1.508 GB, free: 6.266 MB / 1.201 GB Notification: Performance of pre-optimization done (n=118): time 3.667e-06/0.6978, allocations: 0 / 1.508 GB, free: 6.266 MB / 1.201 GB Notification: Performance of matching and sorting (n=118): time 0.004324/0.7022, allocations: 2.528 MB / 1.511 GB, free: 3.711 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002394/0.7024, allocations: 322.6 kB / 1.511 GB, free: 3.348 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01026/0.7127, allocations: 7.319 MB / 1.518 GB, free: 12.02 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/0.7129, allocations: 73.7 kB / 1.518 GB, free: 11.95 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008307/0.7138, allocations: 0.8124 MB / 1.519 GB, free: 11.12 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/0.7142, allocations: 408.5 kB / 1.52 GB, free: 10.72 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001887/0.7161, allocations: 1.911 MB / 1.521 GB, free: 8.797 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7162, allocations: 305.1 kB / 1.522 GB, free: 8.496 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01371/0.7299, allocations: 12.93 MB / 1.534 GB, free: 11.56 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01535/0.7453, allocations: 13.77 MB / 1.548 GB, free: 13.57 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01798/0.7632, allocations: 16.75 MB / 1.564 GB, free: 12.55 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-05/0.7633, allocations: 4.062 kB / 1.564 GB, free: 12.55 MB / 1.264 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03579/0.799, allocations: 31.15 MB / 1.595 GB, free: 13.19 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003219/0.7994, allocations: 161.6 kB / 1.595 GB, free: 13.03 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-05/0.7994, allocations: 12.03 kB / 1.595 GB, free: 13.02 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.901e-05/0.7994, allocations: 24 kB / 1.595 GB, free: 12.99 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/0.8015, allocations: 475.2 kB / 1.595 GB, free: 12.53 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.831e-05/0.8015, allocations: 27.92 kB / 1.595 GB, free: 12.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.8033, allocations: 279.1 kB / 1.596 GB, free: 12.23 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002209/0.8035, allocations: 112 kB / 1.596 GB, free: 12.12 MB / 1.295 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.001787/0.8053, allocations: 1.211 MB / 1.597 GB, free: 10.89 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.8057, allocations: 186.7 kB / 1.597 GB, free: 10.71 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004061/0.8097, allocations: 2.32 MB / 1.599 GB, free: 8.363 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.8097, allocations: 7.922 kB / 1.599 GB, free: 8.355 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.8098, allocations: 0 / 1.599 GB, free: 8.355 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007983/0.8105, allocations: 350.3 kB / 1.6 GB, free: 8.012 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002449/0.8108, allocations: 31.92 kB / 1.6 GB, free: 7.98 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008363/0.8116, allocations: 77.3 kB / 1.6 GB, free: 7.906 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/0.8118, allocations: 84.86 kB / 1.6 GB, free: 7.824 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003643/0.8155, allocations: 2.364 MB / 1.602 GB, free: 5.426 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003524/0.819, allocations: 2.368 MB / 1.604 GB, free: 3.023 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001333/0.8203, allocations: 0.896 MB / 1.605 GB, free: 2.125 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.6169/1.437, allocations: 4.596 MB / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of Backend: time 8.52e-07/1.437, allocations: 0 / 1.61 GB, free: 279.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01908/1.456, allocations: 14.86 MB / 1.624 GB, free: 275.4 MB / 1.295 GB Notification: Performance of SimCode: time 0.01065/1.467, allocations: 8.701 MB / 1.633 GB, free: 272.1 MB / 1.295 GB Notification: Performance of Templates: time 0.05562/1.523, allocations: 43.13 MB / 1.675 GB, free: 235.9 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Warning: Resultfile and Reference have different end time points! Reffile[278]=1.974536 File[2502]=864000.000000 Error: Could not read variable winAbs.QAbsGlaUns_flow[1 in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat. Warning: Get data of variable winAbs.QAbsGlaUns_flow[1 from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat failed! Error: Could not read variable 1] in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat. Warning: Get data of variable 1] from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat failed! Error: Could not read variable winAbs.QAbsGlaUns_flow[1 in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat. Warning: Get data of variable winAbs.QAbsGlaUns_flow[1 from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat failed! Error: Could not read variable winAbs.QAbsGlaUns_flow[2 in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat. Warning: Get data of variable winAbs.QAbsGlaUns_flow[2 from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat failed! Error: Could not read variable 1] in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat. Warning: Get data of variable 1] from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat failed! Error: Could not read variable winAbs.QAbsGlaUns_flow[2 in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat. Warning: Get data of variable winAbs.QAbsGlaUns_flow[2 from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat failed! Error: Could not read variable 2] in file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat. Warning: Get data of variable 2] from file Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.690094049001345]