Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.WindowRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_10_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_10_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.005154/0.005154, allocations: 96.33 kB / 15.73 MB, free: 6.055 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.001141/0.001141, 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.558/2.558, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3651, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01216/0.3773, allocations: 8.551 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.9329/1.31, allocations: 159.4 MB / 1.331 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/1.312, allocations: 37.81 kB / 1.331 GB, free: 3.234 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005951/1.318, allocations: 2.012 MB / 1.333 GB, free: 2.355 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003705/1.322, allocations: 1.272 MB / 1.334 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003775/1.326, allocations: 1.442 MB / 1.335 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.006125/1.332, allocations: 5.454 MB / 1.341 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/1.334, allocations: 1.23 MB / 1.342 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002881/1.337, allocations: 1.738 MB / 1.344 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002398/1.339, allocations: 1.549 MB / 1.345 GB, free: 12.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0005811/1.34, allocations: 298.5 kB / 1.345 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007228/1.347, allocations: 2.577 MB / 1.348 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.00452/1.351, allocations: 4.358 MB / 1.352 GB, free: 10.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002955/1.354, allocations: 1.728 MB / 1.354 GB, free: 9.156 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01198/1.366, allocations: 6.339 MB / 1.36 GB, free: 5.328 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/1.366, allocations: 0 / 1.36 GB, free: 5.328 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.004e-06/1.366, allocations: 4 kB / 1.36 GB, free: 5.324 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002408/1.367, allocations: 0 / 1.36 GB, free: 5.324 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: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.01167/1.378, allocations: 4.317 MB / 1.364 GB, free: 2.246 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.378, allocations: 12.45 kB / 1.364 GB, free: 2.242 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/1.38, allocations: 444.8 kB / 1.365 GB, free: 2.016 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01359/1.394, allocations: 12.36 MB / 1.377 GB, free: 13.05 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/1.394, allocations: 172.3 kB / 1.377 GB, free: 12.97 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000414/1.394, allocations: 232.1 kB / 1.377 GB, free: 12.89 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/1.398, allocations: 2.373 MB / 1.379 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/1.398, allocations: 3.938 kB / 1.379 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/1.398, allocations: 75.98 kB / 1.38 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.825e-05/1.399, allocations: 36 kB / 1.38 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00401/1.403, allocations: 2.459 MB / 1.382 GB, free: 8.047 MB / 1.045 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.0212/1.424, allocations: 15.5 MB / 1.397 GB, free: 8.309 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003403/1.427, allocations: 1.982 MB / 1.399 GB, free: 6.324 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/1.429, allocations: 1.278 MB / 1.4 GB, free: 5.047 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/1.429, allocations: 41.09 kB / 1.4 GB, free: 5.004 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002011/1.431, allocations: 1.362 MB / 1.402 GB, free: 3.625 MB / 1.061 GB Notification: Performance of pre-optimization done (n=138): time 3.227e-06/1.431, allocations: 0 / 1.402 GB, free: 3.625 MB / 1.061 GB Notification: Performance of matching and sorting (n=138): time 0.007295/1.439, allocations: 3.829 MB / 1.405 GB, free: 15.75 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004209/1.439, allocations: 362.5 kB / 1.406 GB, free: 15.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0328/1.472, allocations: 20.61 MB / 1.426 GB, free: 10.72 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0006712/1.473, allocations: 85.7 kB / 1.426 GB, free: 10.63 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001644/1.474, allocations: 1.184 MB / 1.427 GB, free: 9.441 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000696/1.475, allocations: 495.9 kB / 1.428 GB, free: 8.953 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00481/1.48, allocations: 5.011 MB / 1.432 GB, free: 3.918 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000116/1.48, allocations: 305.1 kB / 1.433 GB, free: 3.617 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03585/1.516, allocations: 38.68 MB / 1.471 GB, free: 12.93 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03643/1.552, allocations: 40.08 MB / 1.51 GB, free: 4.59 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04425/1.597, allocations: 47.73 MB / 1.556 GB, free: 4.383 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.812e-05/1.597, allocations: 8 kB / 1.556 GB, free: 4.375 MB / 1.217 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.0928/1.69, allocations: 91 MB / 1.645 GB, free: 8.969 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002981/1.69, allocations: 201.6 kB / 1.645 GB, free: 8.766 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.66e-05/1.69, allocations: 21.56 kB / 1.645 GB, free: 8.746 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/1.691, allocations: 112.9 kB / 1.645 GB, free: 8.633 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002738/1.693, allocations: 0.6123 MB / 1.646 GB, free: 8.02 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.695, allocations: 1.679 MB / 1.648 GB, free: 6.195 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003946/1.699, allocations: 378.7 kB / 1.648 GB, free: 5.828 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006154/1.7, allocations: 155.9 kB / 1.648 GB, free: 5.676 MB / 1.311 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.003616/1.704, allocations: 2.5 MB / 1.651 GB, free: 3.16 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008961/1.704, allocations: 278.3 kB / 1.651 GB, free: 2.887 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005803/1.71, allocations: 3.486 MB / 1.654 GB, free: 15.38 MB / 1.326 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/1.71, allocations: 16 kB / 1.654 GB, free: 15.36 MB / 1.326 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/1.71, allocations: 0 / 1.654 GB, free: 15.36 MB / 1.326 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/1.71, allocations: 7.969 kB / 1.654 GB, free: 15.36 MB / 1.326 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003151/1.714, allocations: 2.081 MB / 1.656 GB, free: 13.21 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.714, allocations: 0 / 1.656 GB, free: 13.21 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/1.714, allocations: 219.6 kB / 1.657 GB, free: 13 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/1.715, allocations: 68.8 kB / 1.657 GB, free: 12.93 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/1.715, allocations: 39.97 kB / 1.657 GB, free: 12.89 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/1.717, allocations: 1.662 MB / 1.658 GB, free: 11.09 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.717, allocations: 0 / 1.658 GB, free: 11.09 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005053/1.722, allocations: 3.347 MB / 1.662 GB, free: 7.711 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001154/1.723, allocations: 0.5651 MB / 1.662 GB, free: 7.125 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/1.723, allocations: 35.94 kB / 1.662 GB, free: 7.09 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.724, allocations: 102.1 kB / 1.662 GB, free: 6.992 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/1.725, allocations: 101.2 kB / 1.662 GB, free: 6.891 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/1.725, allocations: 67.91 kB / 1.662 GB, free: 6.824 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.01154/1.736, allocations: 12.8 MB / 1.675 GB, free: 10.03 MB / 1.342 GB Notification: Performance of sort global known variables: time 4.51e-07/1.737, allocations: 4 kB / 1.675 GB, free: 10.02 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.005105/1.742, allocations: 1.798 MB / 1.677 GB, free: 8.223 MB / 1.342 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.002657/1.744, allocations: 1.009 MB / 1.678 GB, free: 7.387 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.0447/1.789, allocations: 50.92 MB / 1.727 GB, free: 4.434 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/1.789, allocations: 4.062 kB / 1.727 GB, free: 4.43 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.003347/1.792, allocations: 2.712 MB / 1.73 GB, free: 1.691 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/1.795, allocations: 496.2 kB / 1.731 GB, free: 1.223 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.82, allocations: 19.38 MB / 1.749 GB, free: 13.79 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005255/1.825, allocations: 4.646 MB / 1.754 GB, free: 9.109 MB / 1.42 GB Notification: Performance of simCode: alias equations: time 0.002061/1.827, allocations: 0.6487 MB / 1.755 GB, free: 8.457 MB / 1.42 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006255/1.828, allocations: 219.4 kB / 1.755 GB, free: 8.242 MB / 1.42 GB Notification: Performance of SimCode: time 7.61e-07/1.828, allocations: 0 / 1.755 GB, free: 8.242 MB / 1.42 GB Notification: Performance of Templates: time 0.7821/2.61, allocations: 61.25 MB / 1.815 GB, free: 0.5291 GB / 1.467 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches