Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.007285/0.007285, allocations: 97.75 kB / 15.73 MB, free: 6 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.001792/0.001792, allocations: 186.1 kB / 16.67 MB, free: 5.93 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.391/1.391, 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.1.0-maint.11.x/package.mo): time 2.781/2.781, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 67.91 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3793, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01143/0.3907, allocations: 8.56 MB / 1.229 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9199/1.311, allocations: 159.9 MB / 1.385 GB, free: 2.262 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/1.313, allocations: 38 kB / 1.385 GB, free: 2.25 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006405/1.319, allocations: 2.019 MB / 1.387 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0042/1.323, allocations: 1.276 MB / 1.388 GB, free: 15.93 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004136/1.328, allocations: 1.45 MB / 1.39 GB, free: 14.82 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.00758/1.335, allocations: 5.391 MB / 1.395 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00443/1.34, allocations: 0.8704 MB / 1.396 GB, free: 10.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0059/1.345, allocations: 1.731 MB / 1.398 GB, free: 9.887 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004446/1.35, allocations: 1.555 MB / 1.399 GB, free: 8.867 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.00154/1.351, allocations: 291.2 kB / 1.399 GB, free: 8.867 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0069/1.358, allocations: 2.581 MB / 1.402 GB, free: 7.594 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004576/1.363, allocations: 4.336 MB / 1.406 GB, free: 5.758 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004348/1.367, allocations: 1.725 MB / 1.408 GB, free: 4.512 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01232/1.38, allocations: 6.344 MB / 1.414 GB, free: 15.29 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.38, allocations: 0 / 1.414 GB, free: 15.29 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.555e-06/1.38, allocations: 0 / 1.414 GB, free: 15.29 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002604/1.38, allocations: 0 / 1.414 GB, free: 15.29 MB / 1.107 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.01141/1.391, allocations: 4.315 MB / 1.418 GB, free: 10.89 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/1.391, allocations: 8.031 kB / 1.418 GB, free: 10.88 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/1.393, allocations: 446.4 kB / 1.419 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/1.408, allocations: 12.36 MB / 1.431 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/1.409, allocations: 171.1 kB / 1.431 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006846/1.409, allocations: 232 kB / 1.431 GB, free: 13.63 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005073/1.414, allocations: 2.373 MB / 1.433 GB, free: 11.2 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.207e-05/1.414, allocations: 5.438 kB / 1.433 GB, free: 11.19 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/1.415, allocations: 68 kB / 1.434 GB, free: 11.12 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/1.415, allocations: 36 kB / 1.434 GB, free: 11.09 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004299/1.419, allocations: 2.468 MB / 1.436 GB, free: 8.617 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02197/1.441, allocations: 15.5 MB / 1.451 GB, free: 8.875 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003407/1.444, allocations: 1.664 MB / 1.453 GB, free: 7.203 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/1.446, allocations: 0.9845 MB / 1.454 GB, free: 6.219 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001238/1.446, allocations: 37.02 kB / 1.454 GB, free: 6.184 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002063/1.448, allocations: 1.354 MB / 1.455 GB, free: 4.816 MB / 1.139 GB Notification: Performance of pre-optimization done (n=138): time 3.497e-06/1.448, allocations: 0 / 1.455 GB, free: 4.816 MB / 1.139 GB Notification: Performance of matching and sorting (n=138): time 0.007375/1.455, allocations: 3.832 MB / 1.459 GB, free: 0.9453 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002688/1.456, allocations: 362.5 kB / 1.459 GB, free: 0.543 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03247/1.488, allocations: 20.61 MB / 1.479 GB, free: 11.91 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005341/1.489, allocations: 85.7 kB / 1.479 GB, free: 11.82 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001697/1.49, allocations: 1.188 MB / 1.48 GB, free: 10.62 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006943/1.491, allocations: 487.9 kB / 1.481 GB, free: 10.14 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005082/1.496, allocations: 5.019 MB / 1.486 GB, free: 5.102 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 9.579e-05/1.496, allocations: 305.1 kB / 1.486 GB, free: 4.801 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04038/1.537, allocations: 38.68 MB / 1.524 GB, free: 14.11 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03989/1.577, allocations: 40.08 MB / 1.563 GB, free: 5.773 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04763/1.624, allocations: 47.73 MB / 1.61 GB, free: 5.566 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.455e-05/1.624, allocations: 4 kB / 1.61 GB, free: 5.562 MB / 1.295 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1019/1.726, allocations: 90.99 MB / 1.699 GB, free: 10.16 MB / 1.389 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002873/1.726, allocations: 197.6 kB / 1.699 GB, free: 9.965 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.938e-05/1.726, allocations: 20 kB / 1.699 GB, free: 9.945 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007342/1.727, allocations: 112.9 kB / 1.699 GB, free: 9.832 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/1.73, allocations: 0.6123 MB / 1.699 GB, free: 9.219 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/1.732, allocations: 1.683 MB / 1.701 GB, free: 7.391 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003171/1.736, allocations: 380.8 kB / 1.701 GB, free: 7.02 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000878/1.736, allocations: 155.9 kB / 1.702 GB, free: 6.867 MB / 1.389 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.003732/1.74, allocations: 2.503 MB / 1.704 GB, free: 4.352 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000795/1.741, allocations: 278 kB / 1.704 GB, free: 4.078 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006002/1.747, allocations: 3.498 MB / 1.708 GB, free: 0.5625 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.747, allocations: 12 kB / 1.708 GB, free: 0.5508 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/1.747, allocations: 4 kB / 1.708 GB, free: 0.5469 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.747, allocations: 7.969 kB / 1.708 GB, free: 0.5391 MB / 1.389 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004026/1.751, allocations: 2.088 MB / 1.71 GB, free: 14.39 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/1.751, allocations: 0 / 1.71 GB, free: 14.39 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/1.752, allocations: 211.7 kB / 1.71 GB, free: 14.18 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/1.753, allocations: 64.8 kB / 1.71 GB, free: 14.12 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001759/1.753, allocations: 47.91 kB / 1.71 GB, free: 14.07 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/1.755, allocations: 1.658 MB / 1.712 GB, free: 12.27 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/1.755, allocations: 0 / 1.712 GB, free: 12.27 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/1.761, allocations: 3.366 MB / 1.715 GB, free: 8.875 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/1.762, allocations: 0.5612 MB / 1.716 GB, free: 8.293 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007329/1.763, allocations: 36 kB / 1.716 GB, free: 8.258 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/1.764, allocations: 87.84 kB / 1.716 GB, free: 8.172 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/1.764, allocations: 105.2 kB / 1.716 GB, free: 8.066 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001694/1.765, allocations: 63.97 kB / 1.716 GB, free: 8.004 MB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01236/1.777, allocations: 12.8 MB / 1.728 GB, free: 11.19 MB / 1.42 GB Notification: Performance of sort global known variables: time 2.11e-07/1.777, allocations: 0 / 1.728 GB, free: 11.19 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.005431/1.782, allocations: 1.802 MB / 1.73 GB, free: 9.391 MB / 1.42 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.003352/1.786, allocations: 1.011 MB / 1.731 GB, free: 8.551 MB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.0411/1.827, allocations: 41.26 MB / 1.771 GB, free: 15.25 MB / 1.467 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/1.827, allocations: 3.984 kB / 1.771 GB, free: 15.25 MB / 1.467 GB Notification: Performance of simCode: created simulation system equations: time 0.003419/1.83, allocations: 1.877 MB / 1.773 GB, free: 13.35 MB / 1.467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00345/1.834, allocations: 0.5018 MB / 1.774 GB, free: 12.87 MB / 1.467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/1.864, allocations: 19.38 MB / 1.793 GB, free: 9.43 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007833/1.872, allocations: 4.635 MB / 1.797 GB, free: 4.762 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.002588/1.874, allocations: 0.641 MB / 1.798 GB, free: 4.117 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008811/1.875, allocations: 223.4 kB / 1.798 GB, free: 3.898 MB / 1.482 GB Notification: Performance of SimCode: time 9.62e-07/1.875, allocations: 4 kB / 1.798 GB, free: 3.895 MB / 1.482 GB Notification: Performance of Templates: time 0.7955/2.671, allocations: 63.35 MB / 1.86 GB, free: 0.501 GB / 1.498 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches