Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005648/0.005648, allocations: 101 kB / 15.73 MB, free: 6.039 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.001124/0.001124, allocations: 200.7 kB / 16.68 MB, free: 5.973 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.354/2.354, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 68.11 kB / 0.9509 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3361/0.3373, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.008527/0.3458, allocations: 7.308 MB / 1.095 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1907/0.5365, allocations: 159.3 MB / 1.251 GB, free: 10.21 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.5387, allocations: 43.81 kB / 1.251 GB, free: 10.17 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00609/0.5448, allocations: 1.963 MB / 1.253 GB, free: 8.203 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004024/0.5488, allocations: 1.174 MB / 1.254 GB, free: 7.027 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004484/0.5533, allocations: 1.433 MB / 1.255 GB, free: 5.602 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006608/0.56, allocations: 5.241 MB / 1.26 GB, free: 356 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.8126/1.373, allocations: 1.277 MB / 1.262 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003603/1.376, allocations: 1.7 MB / 1.263 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003537/1.38, allocations: 1.532 MB / 1.265 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008072/1.381, allocations: 290.3 kB / 1.265 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006077/1.387, allocations: 2.574 MB / 1.267 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006507/1.393, allocations: 4.364 MB / 1.272 GB, free: 5.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003094/1.396, allocations: 1.682 MB / 1.273 GB, free: 5.398 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01328/1.41, allocations: 6.24 MB / 1.279 GB, free: 4.703 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/1.41, allocations: 0 / 1.279 GB, free: 4.703 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/1.41, allocations: 0 / 1.279 GB, free: 4.703 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001846/1.41, allocations: 0.8438 kB / 1.279 GB, free: 4.703 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01288/1.423, allocations: 4.158 MB / 1.284 GB, free: 2.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.423, allocations: 10.69 kB / 1.284 GB, free: 2.84 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/1.425, allocations: 425.6 kB / 1.284 GB, free: 2.656 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01688/1.441, allocations: 12.33 MB / 1.296 GB, free: 2.008 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/1.442, allocations: 177.1 kB / 1.296 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007115/1.442, allocations: 233.2 kB / 1.296 GB, free: 2 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004305/1.447, allocations: 2.383 MB / 1.299 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/1.447, allocations: 1.938 kB / 1.299 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/1.447, allocations: 70.52 kB / 1.299 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/1.447, allocations: 38.69 kB / 1.299 GB, free: 1.801 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/1.45, allocations: 2.463 MB / 1.301 GB, free: 1.785 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/1.469, allocations: 15 MB / 1.316 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/1.472, allocations: 1.997 MB / 1.318 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/1.473, allocations: 1.282 MB / 1.319 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/1.473, allocations: 38.86 kB / 1.319 GB, free: 384 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/1.475, allocations: 1.352 MB / 1.32 GB, free: 304 kB / 1.014 GB Notification: Performance of pre-optimization done (n=138): time 3.176e-06/1.475, allocations: 0.9062 kB / 1.32 GB, free: 304 kB / 1.014 GB Notification: Performance of matching and sorting (n=138): time 0.007249/1.483, allocations: 3.811 MB / 1.324 GB, free: 15.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002298/1.483, allocations: 368.4 kB / 1.324 GB, free: 15.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03286/1.516, allocations: 20.6 MB / 1.345 GB, free: 6.059 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.001247/1.517, allocations: 85.7 kB / 1.345 GB, free: 5.973 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001889/1.519, allocations: 1.171 MB / 1.346 GB, free: 4.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007248/1.52, allocations: 465.5 kB / 1.346 GB, free: 4.531 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006215/1.526, allocations: 4.922 MB / 1.351 GB, free: 84 kB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.526, allocations: 305.8 kB / 1.351 GB, free: 15.78 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04625/1.572, allocations: 39.72 MB / 1.39 GB, free: 12.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04132/1.614, allocations: 40.09 MB / 1.429 GB, free: 4.289 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04778/1.661, allocations: 47.72 MB / 1.476 GB, free: 4.215 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.112e-05/1.662, allocations: 8 kB / 1.476 GB, free: 4.207 MB / 1.154 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09526/1.757, allocations: 90.97 MB / 1.565 GB, free: 9.012 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003003/1.757, allocations: 201.6 kB / 1.565 GB, free: 8.809 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-05/1.757, allocations: 17.06 kB / 1.565 GB, free: 8.793 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/1.758, allocations: 108.3 kB / 1.565 GB, free: 8.688 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003/1.761, allocations: 0.6185 MB / 1.566 GB, free: 8.109 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002272/1.763, allocations: 1.672 MB / 1.567 GB, free: 6.32 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/1.767, allocations: 367.4 kB / 1.568 GB, free: 5.965 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005849/1.767, allocations: 155.5 kB / 1.568 GB, free: 5.816 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * 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 (396): * Single equations (assignments): 355 * Array equations: 39 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.003524/1.771, allocations: 2.499 MB / 1.57 GB, free: 3.348 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000788/1.772, allocations: 264.8 kB / 1.571 GB, free: 3.09 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/1.777, allocations: 3.491 MB / 1.574 GB, free: 15.59 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/1.777, allocations: 15.38 kB / 1.574 GB, free: 15.58 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/1.777, allocations: 1 kB / 1.574 GB, free: 15.58 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/1.777, allocations: 3.984 kB / 1.574 GB, free: 15.58 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003586/1.781, allocations: 2.082 MB / 1.576 GB, free: 13.46 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/1.781, allocations: 1.062 kB / 1.576 GB, free: 13.46 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000946/1.782, allocations: 207.7 kB / 1.576 GB, free: 13.27 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004812/1.782, allocations: 75.5 kB / 1.576 GB, free: 13.2 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/1.783, allocations: 43.97 kB / 1.576 GB, free: 13.16 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001957/1.785, allocations: 1.65 MB / 1.578 GB, free: 11.38 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/1.785, allocations: 3.562 kB / 1.578 GB, free: 11.38 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005345/1.79, allocations: 3.335 MB / 1.581 GB, free: 8.02 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/1.791, allocations: 0.5451 MB / 1.582 GB, free: 7.453 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/1.791, allocations: 47.3 kB / 1.582 GB, free: 7.41 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.792, allocations: 89.84 kB / 1.582 GB, free: 7.324 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002566/1.793, allocations: 98.34 kB / 1.582 GB, free: 7.227 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001527/1.793, allocations: 67.95 kB / 1.582 GB, free: 7.16 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.01242/1.805, allocations: 12.8 MB / 1.594 GB, free: 10.36 MB / 1.279 GB Notification: Performance of sort global known variables: time 6.11e-07/1.805, allocations: 0 / 1.594 GB, free: 10.36 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.009226/1.815, allocations: 1.76 MB / 1.596 GB, free: 8.609 MB / 1.279 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 (weaDat.decAng.tNext,weaDat.eqnTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.tNext,weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004432/1.819, allocations: 1.013 MB / 1.597 GB, free: 7.863 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.04826/1.867, allocations: 50.92 MB / 1.647 GB, free: 5.012 MB / 1.326 GB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/1.867, allocations: 4.828 kB / 1.647 GB, free: 5.008 MB / 1.326 GB Notification: Performance of simCode: created simulation system equations: time 0.003521/1.871, allocations: 2.719 MB / 1.65 GB, free: 2.289 MB / 1.326 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/1.873, allocations: 480.8 kB / 1.65 GB, free: 1.844 MB / 1.326 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02822/1.902, allocations: 19.18 MB / 1.669 GB, free: 14.7 MB / 1.357 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005829/1.907, allocations: 4.638 MB / 1.673 GB, free: 10.05 MB / 1.357 GB Notification: Performance of simCode: alias equations: time 0.002423/1.91, allocations: 0.6536 MB / 1.674 GB, free: 9.41 MB / 1.357 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007263/1.911, allocations: 223.3 kB / 1.674 GB, free: 9.191 MB / 1.357 GB Notification: Performance of SimCode: time 1.122e-06/1.911, allocations: 0 / 1.674 GB, free: 9.191 MB / 1.357 GB Notification: Performance of Templates: time 0.1843/2.095, allocations: 60.33 MB / 1.733 GB, free: 13.16 MB / 1.42 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches