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.004882/0.004882, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001137/0.001137, allocations: 195 kB / 16.67 MB, free: 5.977 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.789/2.789, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3204, allocations: 151.6 MB / 1.167 GB, free: 6.762 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008888/0.3293, allocations: 7.296 MB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.9469/1.276, allocations: 155.5 MB / 1.326 GB, free: 7.008 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/1.279, allocations: 25.62 kB / 1.326 GB, free: 7 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0107/1.29, allocations: 1.816 MB / 1.327 GB, free: 6.371 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005093/1.295, allocations: 0.868 MB / 1.328 GB, free: 5.844 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00547/1.3, allocations: 1.029 MB / 1.329 GB, free: 5.305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008665/1.309, allocations: 3.583 MB / 1.333 GB, free: 3.656 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003045/1.312, allocations: 0.9212 MB / 1.334 GB, free: 3.156 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/1.316, allocations: 1.171 MB / 1.335 GB, free: 2.672 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/1.319, allocations: 1.052 MB / 1.336 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/1.32, allocations: 195.4 kB / 1.336 GB, free: 2.184 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008704/1.329, allocations: 2.245 MB / 1.338 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.004293/1.333, allocations: 1.913 MB / 1.34 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003897/1.337, allocations: 1.174 MB / 1.341 GB, free: 240 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01332/1.351, allocations: 4.452 MB / 1.346 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.351, allocations: 0 / 1.346 GB, free: 14.68 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.116e-06/1.351, allocations: 0.8438 kB / 1.346 GB, free: 14.68 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001841/1.351, allocations: 0 / 1.346 GB, free: 14.68 MB / 1.029 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.01109/1.362, allocations: 3.083 MB / 1.349 GB, free: 12.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/1.362, allocations: 10.66 kB / 1.349 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001148/1.363, allocations: 310.2 kB / 1.349 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006285/1.37, allocations: 4.597 MB / 1.353 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001495/1.37, allocations: 133.2 kB / 1.353 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/1.37, allocations: 178.7 kB / 1.354 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002952/1.373, allocations: 1.67 MB / 1.355 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/1.373, allocations: 0 / 1.355 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/1.373, allocations: 52.47 kB / 1.355 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/1.373, allocations: 28.97 kB / 1.355 GB, free: 9.773 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002379/1.376, allocations: 1.721 MB / 1.357 GB, free: 9.023 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/1.387, allocations: 7.402 MB / 1.364 GB, free: 4.777 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/1.39, allocations: 1.586 MB / 1.366 GB, free: 4.02 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.391, allocations: 1.037 MB / 1.367 GB, free: 3.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.15e-05/1.391, allocations: 36.61 kB / 1.367 GB, free: 3.508 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/1.393, allocations: 0.9747 MB / 1.368 GB, free: 3.059 MB / 1.029 GB Notification: Performance of pre-optimization done (n=118): time 3.006e-06/1.393, allocations: 6.188 kB / 1.368 GB, free: 3.055 MB / 1.029 GB Notification: Performance of matching and sorting (n=118): time 0.005121/1.398, allocations: 2.854 MB / 1.371 GB, free: 1.969 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002599/1.398, allocations: 339.8 kB / 1.371 GB, free: 1.676 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/1.41, allocations: 7.389 MB / 1.378 GB, free: 11.75 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0006377/1.41, allocations: 69.7 kB / 1.378 GB, free: 11.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.412, allocations: 0.8091 MB / 1.379 GB, free: 10.86 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000634/1.413, allocations: 416.5 kB / 1.379 GB, free: 10.45 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00297/1.416, allocations: 1.907 MB / 1.381 GB, free: 8.527 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.416, allocations: 305.1 kB / 1.382 GB, free: 8.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01344/1.429, allocations: 12.98 MB / 1.394 GB, free: 11.24 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01497/1.444, allocations: 13.7 MB / 1.408 GB, free: 13.36 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01766/1.462, allocations: 17.1 MB / 1.424 GB, free: 11.98 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-05/1.462, allocations: 4 kB / 1.424 GB, free: 11.98 MB / 1.092 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03461/1.496, allocations: 31.28 MB / 1.455 GB, free: 12.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002901/1.497, allocations: 185.6 kB / 1.455 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/1.497, allocations: 12 kB / 1.455 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.834e-05/1.497, allocations: 20 kB / 1.455 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/1.499, allocations: 479.7 kB / 1.456 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.374e-05/1.499, allocations: 32.78 kB / 1.456 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/1.501, allocations: 284.9 kB / 1.456 GB, free: 11.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002764/1.502, allocations: 108 kB / 1.456 GB, free: 11.39 MB / 1.123 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.001839/1.503, allocations: 1.235 MB / 1.457 GB, free: 10.14 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004772/1.504, allocations: 190.7 kB / 1.457 GB, free: 9.953 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/1.508, allocations: 2.747 MB / 1.46 GB, free: 7.203 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.508, allocations: 12 kB / 1.46 GB, free: 7.191 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.508, allocations: 0 / 1.46 GB, free: 7.191 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/1.508, allocations: 7.922 kB / 1.46 GB, free: 7.184 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00208/1.51, allocations: 1.481 MB / 1.461 GB, free: 5.645 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.51, allocations: 0 / 1.461 GB, free: 5.645 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/1.511, allocations: 163.8 kB / 1.462 GB, free: 5.484 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/1.511, allocations: 8 kB / 1.462 GB, free: 5.477 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.172e-05/1.511, allocations: 35.98 kB / 1.462 GB, free: 5.441 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/1.511, allocations: 4 kB / 1.462 GB, free: 5.438 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/1.511, allocations: 0 / 1.462 GB, free: 5.438 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003541/1.514, allocations: 2.656 MB / 1.464 GB, free: 2.75 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/1.515, allocations: 443.3 kB / 1.465 GB, free: 2.297 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/1.515, allocations: 28 kB / 1.465 GB, free: 2.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008262/1.516, allocations: 73.64 kB / 1.465 GB, free: 2.199 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/1.516, allocations: 84.89 kB / 1.465 GB, free: 2.113 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/1.517, allocations: 47.97 kB / 1.465 GB, free: 2.066 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.004584/1.521, allocations: 4.652 MB / 1.469 GB, free: 13.39 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.71e-07/1.521, allocations: 0 / 1.469 GB, free: 13.39 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004022/1.525, allocations: 1.22 MB / 1.471 GB, free: 12.16 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002744/1.528, allocations: 0.9624 MB / 1.472 GB, free: 11.38 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0179/1.546, allocations: 18.98 MB / 1.49 GB, free: 8.391 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/1.546, allocations: 0 / 1.49 GB, free: 8.391 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/1.549, allocations: 2.247 MB / 1.492 GB, free: 6.129 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00189/1.55, allocations: 380.8 kB / 1.493 GB, free: 5.777 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/1.563, allocations: 8.62 MB / 1.501 GB, free: 13.12 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/1.565, allocations: 2.353 MB / 1.503 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001595/1.566, allocations: 452.7 kB / 1.504 GB, free: 10.3 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/1.567, allocations: 167.4 kB / 1.504 GB, free: 10.13 MB / 1.17 GB Notification: Performance of SimCode: time 8.72e-07/1.567, allocations: 0 / 1.504 GB, free: 10.13 MB / 1.17 GB Notification: Performance of Templates: time 0.09401/1.661, allocations: 36.72 MB / 1.54 GB, free: 5.602 MB / 1.201 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/jenkins/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