Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006091/0.006092, allocations: 103.4 kB / 15.73 MB, free: 6.035 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.001229/0.001229, allocations: 189.8 kB / 16.67 MB, free: 5.965 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.956/2.956, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 63.91 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.3375, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009419/0.347, allocations: 7.263 MB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.967/1.314, allocations: 155.5 MB / 1.366 GB, free: 4.535 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001535/1.316, allocations: 29.47 kB / 1.366 GB, free: 4.523 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.004982/1.321, allocations: 1.826 MB / 1.368 GB, free: 3.777 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002701/1.323, allocations: 0.8337 MB / 1.369 GB, free: 3.281 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002578/1.326, allocations: 1.04 MB / 1.37 GB, free: 2.727 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004185/1.33, allocations: 3.57 MB / 1.373 GB, free: 1.086 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/1.332, allocations: 0.9206 MB / 1.374 GB, free: 0.5859 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001841/1.333, allocations: 1.162 MB / 1.375 GB, free: 15.94 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002038/1.335, allocations: 1.057 MB / 1.376 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007322/1.336, allocations: 193.9 kB / 1.377 GB, free: 15.24 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004861/1.341, allocations: 2.245 MB / 1.379 GB, free: 14.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002212/1.343, allocations: 2.051 MB / 1.381 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003659/1.347, allocations: 2.15 MB / 1.383 GB, free: 11.52 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/1.358, allocations: 7.85 MB / 1.391 GB, free: 6.805 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.359, allocations: 2.438 kB / 1.391 GB, free: 6.805 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.994e-06/1.359, allocations: 0 / 1.391 GB, free: 6.805 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002563/1.359, allocations: 0 / 1.391 GB, free: 6.805 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.02142/1.38, allocations: 6.227 MB / 1.397 GB, free: 2.781 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.64e-05/1.38, allocations: 8.281 kB / 1.397 GB, free: 2.781 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003456/1.381, allocations: 200.7 kB / 1.397 GB, free: 2.625 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/1.383, allocations: 466.6 kB / 1.397 GB, free: 2.383 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2974/1.681, allocations: 321.1 MB / 1.711 GB, free: 3.309 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/1.681, allocations: 134.3 kB / 1.711 GB, free: 3.176 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006091/1.682, allocations: 184 kB / 1.711 GB, free: 2.996 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003719/1.685, allocations: 1.664 MB / 1.713 GB, free: 1.27 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/1.686, allocations: 3.938 kB / 1.713 GB, free: 1.266 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001675/1.686, allocations: 55.98 kB / 1.713 GB, free: 1.211 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/1.686, allocations: 28 kB / 1.713 GB, free: 1.184 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/1.689, allocations: 1.732 MB / 1.715 GB, free: 15.45 MB / 1.404 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0691/1.758, allocations: 76.96 MB / 1.79 GB, free: 2.281 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003077/1.761, allocations: 1.584 MB / 1.791 GB, free: 0.6914 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/1.762, allocations: 1.031 MB / 1.792 GB, free: 15.66 MB / 1.482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/1.763, allocations: 33.09 kB / 1.792 GB, free: 15.63 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/1.764, allocations: 0.9773 MB / 1.793 GB, free: 14.64 MB / 1.482 GB Notification: Performance of pre-optimization done (n=118): time 4.629e-06/1.764, allocations: 0 / 1.793 GB, free: 14.64 MB / 1.482 GB Notification: Performance of matching and sorting (n=118): time 0.007135/1.771, allocations: 3.013 MB / 1.796 GB, free: 11.61 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/1.772, allocations: 342.5 kB / 1.797 GB, free: 11.23 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.259/3.031, allocations: 379.7 MB / 2.167 GB, free: 210.6 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.0005621/3.032, allocations: 73.7 kB / 2.167 GB, free: 210.5 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.002142/3.034, allocations: 1.605 MB / 2.169 GB, free: 209 MB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005562/3.035, allocations: 391.9 kB / 2.169 GB, free: 208.8 MB / 1.482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007283/3.035, allocations: 0.5125 MB / 2.17 GB, free: 208.3 MB / 1.482 GB Notification: Performance of setup shared object (initialization): time 7.305e-05/3.035, allocations: 301.7 kB / 2.17 GB, free: 208 MB / 1.482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/3.037, allocations: 1.44 MB / 2.172 GB, free: 206.5 MB / 1.482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/3.039, allocations: 2.17 MB / 2.174 GB, free: 204.1 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/3.043, allocations: 3.538 MB / 2.177 GB, free: 200.3 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.173e-05/3.043, allocations: 11.75 kB / 2.177 GB, free: 200.3 MB / 1.482 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008952/3.052, allocations: 4.252 MB / 2.181 GB, free: 196 MB / 1.482 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001931/3.052, allocations: 185.6 kB / 2.181 GB, free: 195.8 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-05/3.052, allocations: 20 kB / 2.181 GB, free: 195.8 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.415e-05/3.052, allocations: 33.64 kB / 2.181 GB, free: 195.8 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/3.054, allocations: 480.4 kB / 2.182 GB, free: 195.3 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-05/3.054, allocations: 47.86 kB / 2.182 GB, free: 195.3 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004708/3.059, allocations: 0.5432 MB / 2.183 GB, free: 194.7 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004083/3.059, allocations: 114.9 kB / 2.183 GB, free: 194.6 MB / 1.482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * Number of states: 0 () * Number of discrete variables: 18 (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 (265): * Single equations (assignments): 264 * Array equations: 0 * 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.003247/3.062, allocations: 1.666 MB / 2.184 GB, free: 192.9 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002649/3.065, allocations: 351.3 kB / 2.185 GB, free: 192.6 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005041/3.07, allocations: 3.033 MB / 2.188 GB, free: 189.6 MB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/3.07, allocations: 8 kB / 2.188 GB, free: 189.5 MB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/3.07, allocations: 0 / 2.188 GB, free: 189.5 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/3.07, allocations: 7.969 kB / 2.188 GB, free: 189.5 MB / 1.482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005546/3.076, allocations: 2.827 MB / 2.19 GB, free: 186.7 MB / 1.482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/3.076, allocations: 0 / 2.19 GB, free: 186.7 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/3.076, allocations: 162.4 kB / 2.19 GB, free: 186.5 MB / 1.482 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/3.076, allocations: 4 kB / 2.19 GB, free: 186.5 MB / 1.482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/3.077, allocations: 43.91 kB / 2.191 GB, free: 186.5 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.677e-06/3.077, allocations: 4 kB / 2.191 GB, free: 186.5 MB / 1.482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/3.077, allocations: 0 / 2.191 GB, free: 186.5 MB / 1.482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005301/3.082, allocations: 2.809 MB / 2.193 GB, free: 183.6 MB / 1.482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003161/3.085, allocations: 1.237 MB / 2.194 GB, free: 182.4 MB / 1.482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00111/3.086, allocations: 37.72 kB / 2.195 GB, free: 182.3 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/3.088, allocations: 307.9 kB / 2.195 GB, free: 182 MB / 1.482 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/3.088, allocations: 76.89 kB / 2.195 GB, free: 181.9 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.615e-05/3.088, allocations: 51.97 kB / 2.195 GB, free: 181.9 MB / 1.482 GB Notification: Performance of sorting global known variables: time 0.9495/4.038, allocations: 305.4 MB / 2.493 GB, free: 445.4 MB / 1.482 GB Notification: Performance of sort global known variables: time 1.002e-06/4.038, allocations: 0 / 2.493 GB, free: 445.4 MB / 1.482 GB Notification: Performance of remove unused functions: time 0.005098/4.043, allocations: 1.237 MB / 2.494 GB, free: 444.3 MB / 1.482 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.0083/4.051, allocations: 4.227 MB / 2.498 GB, free: 440.9 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.00502/4.057, allocations: 4.625 MB / 2.503 GB, free: 436.7 MB / 1.482 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/4.057, allocations: 0 / 2.503 GB, free: 436.7 MB / 1.482 GB Notification: Performance of simCode: created simulation system equations: time 0.001867/4.058, allocations: 2.255 MB / 2.505 GB, free: 434.6 MB / 1.482 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/4.063, allocations: 487.6 kB / 2.506 GB, free: 434.2 MB / 1.482 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.468/6.531, allocations: 1.504 GB / 4.01 GB, free: 44.32 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001797/6.533, allocations: 2.359 MB / 4.012 GB, free: 41.95 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.003536/6.536, allocations: 1.249 MB / 4.013 GB, free: 40.8 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003498/6.54, allocations: 1.757 MB / 4.015 GB, free: 39.04 MB / 1.482 GB Notification: Performance of SimCode: time 1.122e-06/6.54, allocations: 8 kB / 4.015 GB, free: 39.03 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.424/7.963, allocations: 254.7 MB / 4.264 GB, free: 363.6 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/24.8, allocations: 7.047 kB / 4.264 GB, free: 363.6 MB / 1.482 GB (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.fmu > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches