Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001499/0.001499, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.00131, allocations: 59.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7374/0.7387, allocations: 140.4 MB / 0.9496 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.007953/0.7467, allocations: 6.045 MB / 0.9555 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1945/0.9412, allocations: 155.4 MB / 1.107 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001855/0.9431, allocations: 23.88 kB / 1.107 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005587/0.9487, allocations: 1.77 MB / 1.109 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/0.952, allocations: 0.7525 MB / 1.11 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00288/0.9549, allocations: 1.016 MB / 1.111 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003712/0.9587, allocations: 3.35 MB / 1.114 GB, free: 8.957 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.96, allocations: 0.9593 MB / 1.115 GB, free: 7.957 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001962/0.962, allocations: 1.114 MB / 1.116 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.9633, allocations: 1.027 MB / 1.117 GB, free: 5.809 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002728/0.9636, allocations: 199.9 kB / 1.117 GB, free: 5.613 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.9679, allocations: 2.208 MB / 1.119 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00151/0.9694, allocations: 1.911 MB / 1.121 GB, free: 1.488 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.9706, allocations: 1.138 MB / 1.122 GB, free: 352 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008228/0.9788, allocations: 4.297 MB / 1.127 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.912e-06/0.9789, allocations: 0 / 1.127 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.234e-06/0.9789, allocations: 0 / 1.127 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.273e-05/0.9789, allocations: 0 / 1.127 GB, free: 12.04 MB / 0.8887 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.005508/0.9844, allocations: 2.958 MB / 1.129 GB, free: 9.012 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.9845, allocations: 19.97 kB / 1.129 GB, free: 8.992 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/0.9854, allocations: 293.8 kB / 1.13 GB, free: 8.703 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004796/0.9902, allocations: 4.556 MB / 1.134 GB, free: 4.098 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.9903, allocations: 130.4 kB / 1.134 GB, free: 3.969 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/0.9906, allocations: 184 kB / 1.134 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.9931, allocations: 1.664 MB / 1.136 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.9932, allocations: 0 / 1.136 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.9933, allocations: 52 kB / 1.136 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.608e-05/0.9933, allocations: 28 kB / 1.136 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.9957, allocations: 1.726 MB / 1.138 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009617/1.005, allocations: 7.025 MB / 1.145 GB, free: 9.145 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/1.008, allocations: 1.579 MB / 1.146 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/1.009, allocations: 1.046 MB / 1.147 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/1.009, allocations: 33.17 kB / 1.147 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001301/1.01, allocations: 0.9811 MB / 1.148 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=118): time 4.208e-06/1.01, allocations: 0 / 1.148 GB, free: 5.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=118): time 0.004269/1.014, allocations: 2.844 MB / 1.151 GB, free: 2.625 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/1.015, allocations: 348.2 kB / 1.151 GB, free: 2.238 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009244/1.024, allocations: 7.384 MB / 1.159 GB, free: 10.8 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0005235/1.024, allocations: 73.7 kB / 1.159 GB, free: 10.73 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008168/1.025, allocations: 0.7842 MB / 1.159 GB, free: 9.934 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004118/1.026, allocations: 394.5 kB / 1.16 GB, free: 9.543 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/1.027, allocations: 1.888 MB / 1.162 GB, free: 7.637 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001073/1.027, allocations: 305.1 kB / 1.162 GB, free: 7.336 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01209/1.04, allocations: 12.99 MB / 1.175 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01344/1.053, allocations: 13.69 MB / 1.188 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01612/1.069, allocations: 17.1 MB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.136e-05/1.069, allocations: 4 kB / 1.205 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.031/1.1, allocations: 31.27 MB / 1.235 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002591/1.101, allocations: 185.6 kB / 1.235 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/1.101, allocations: 12 kB / 1.235 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.62e-05/1.101, allocations: 23.94 kB / 1.235 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/1.103, allocations: 475.2 kB / 1.236 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.122e-05/1.103, allocations: 27.92 kB / 1.236 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/1.105, allocations: 293.1 kB / 1.236 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001909/1.105, allocations: 108 kB / 1.236 GB, free: 10.52 MB / 0.9981 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.001495/1.106, allocations: 1.231 MB / 1.237 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/1.107, allocations: 185.6 kB / 1.238 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/1.11, allocations: 2.745 MB / 1.24 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/1.11, allocations: 16 kB / 1.24 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/1.11, allocations: 0 / 1.24 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/1.11, allocations: 3.984 kB / 1.24 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00175/1.112, allocations: 1.477 MB / 1.242 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.112, allocations: 0 / 1.242 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007001/1.113, allocations: 167.7 kB / 1.242 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.113, allocations: 4 kB / 1.242 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.661e-05/1.113, allocations: 39.97 kB / 1.242 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.113, allocations: 4 kB / 1.242 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.113, allocations: 0 / 1.242 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/1.116, allocations: 2.644 MB / 1.245 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000598/1.117, allocations: 422.3 kB / 1.245 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002111/1.117, allocations: 28 kB / 1.245 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/1.118, allocations: 76.61 kB / 1.245 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.118, allocations: 80.89 kB / 1.245 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.02e-05/1.118, allocations: 47.97 kB / 1.245 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.5942/1.713, allocations: 4.646 MB / 1.25 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.253e-06/1.713, allocations: 1.156 kB / 1.25 GB, free: 285.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004166/1.717, allocations: 1.197 MB / 1.251 GB, free: 285.2 MB / 0.9981 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.002622/1.719, allocations: 0.9506 MB / 1.252 GB, free: 285 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01942/1.739, allocations: 19.63 MB / 1.271 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.739, allocations: 1.938 kB / 1.271 GB, free: 276.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001917/1.741, allocations: 2.242 MB / 1.273 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/1.742, allocations: 345.1 kB / 1.274 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007903/1.75, allocations: 8.553 MB / 1.282 GB, free: 269.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00141/1.752, allocations: 2.357 MB / 1.284 GB, free: 266.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001163/1.753, allocations: 452.5 kB / 1.285 GB, free: 266.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003737/1.753, allocations: 155.4 kB / 1.285 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/1.753, allocations: 0 / 1.285 GB, free: 266.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.06696/1.82, allocations: 35.52 MB / 1.319 GB, free: 230.9 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches