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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002043/0.002043, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.5 MB / 0.7304 GB, free: 13.85 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|uSta.y|winRad.QAbsGlaUns_flow.1.|winRad.QAbsGlaUns_flow.2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.88 kB / 1.059 GB, free: 320 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3782, allocations: 160.7 MB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01267/0.3908, allocations: 8.65 MB / 1.225 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.8583/1.249, allocations: 160 MB / 1.381 GB, free: 9.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/1.251, allocations: 38.47 kB / 1.381 GB, free: 9.488 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00589/1.257, allocations: 2.021 MB / 1.383 GB, free: 8.629 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.004041/1.261, allocations: 1.278 MB / 1.384 GB, free: 7.871 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/1.265, allocations: 1.475 MB / 1.386 GB, free: 6.941 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007926/1.273, allocations: 5.36 MB / 1.391 GB, free: 3.637 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/1.275, allocations: 0.8103 MB / 1.392 GB, free: 3.051 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003583/1.279, allocations: 1.725 MB / 1.393 GB, free: 2.043 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/1.282, allocations: 1.671 MB / 1.395 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001227/1.283, allocations: 290.7 kB / 1.395 GB, free: 0.9453 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007348/1.291, allocations: 2.653 MB / 1.398 GB, free: 15.61 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004463/1.295, allocations: 4.371 MB / 1.402 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003299/1.299, allocations: 1.72 MB / 1.404 GB, free: 12.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01162/1.31, allocations: 6.346 MB / 1.41 GB, free: 8.324 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/1.31, allocations: 0 / 1.41 GB, free: 8.324 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.234e-06/1.31, allocations: 0 / 1.41 GB, free: 8.324 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001549/1.31, allocations: 0 / 1.41 GB, free: 8.324 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: 424 * Number of variables: 424 Notification: Performance of Generate backend data structure: time 0.009901/1.32, allocations: 4.313 MB / 1.414 GB, free: 4.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.32, allocations: 8.031 kB / 1.414 GB, free: 4.973 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/1.322, allocations: 446.4 kB / 1.415 GB, free: 4.535 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01512/1.337, allocations: 12.35 MB / 1.427 GB, free: 8.117 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/1.337, allocations: 175.1 kB / 1.427 GB, free: 7.945 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005871/1.338, allocations: 232 kB / 1.427 GB, free: 7.719 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004475/1.342, allocations: 2.381 MB / 1.429 GB, free: 5.277 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/1.342, allocations: 3.938 kB / 1.429 GB, free: 5.273 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/1.342, allocations: 68 kB / 1.429 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/1.342, allocations: 40 kB / 1.429 GB, free: 5.168 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004193/1.347, allocations: 2.459 MB / 1.432 GB, free: 2.703 MB / 1.092 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.02215/1.369, allocations: 15.5 MB / 1.447 GB, free: 2.969 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/1.372, allocations: 1.666 MB / 1.449 GB, free: 1.297 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/1.374, allocations: 0.9901 MB / 1.45 GB, free: 316 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/1.374, allocations: 36.94 kB / 1.45 GB, free: 276 kB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002159/1.376, allocations: 1.362 MB / 1.451 GB, free: 14.89 MB / 1.123 GB Notification: Performance of pre-optimization done (n=138): time 2.655e-06/1.376, allocations: 0 / 1.451 GB, free: 14.89 MB / 1.123 GB Notification: Performance of matching and sorting (n=138): time 0.007599/1.383, allocations: 3.825 MB / 1.455 GB, free: 11.03 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003193/1.384, allocations: 370.5 kB / 1.455 GB, free: 10.62 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03367/1.417, allocations: 20.6 MB / 1.475 GB, free: 6 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0006653/1.418, allocations: 85.7 kB / 1.475 GB, free: 5.91 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.42, allocations: 1.192 MB / 1.476 GB, free: 4.707 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007599/1.421, allocations: 499.9 kB / 1.477 GB, free: 4.215 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004958/1.426, allocations: 5.007 MB / 1.482 GB, free: 15.18 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001394/1.426, allocations: 309.1 kB / 1.482 GB, free: 14.88 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03994/1.466, allocations: 38.68 MB / 1.52 GB, free: 8.191 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04146/1.507, allocations: 40.07 MB / 1.559 GB, free: 15.85 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04804/1.555, allocations: 47.73 MB / 1.606 GB, free: 15.65 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.164e-05/1.555, allocations: 4 kB / 1.606 GB, free: 15.64 MB / 1.279 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1014/1.657, allocations: 91 MB / 1.694 GB, free: 4.23 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003749/1.657, allocations: 199.6 kB / 1.695 GB, free: 4.031 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-05/1.657, allocations: 24 kB / 1.695 GB, free: 4.008 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007204/1.658, allocations: 108.8 kB / 1.695 GB, free: 3.898 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/1.661, allocations: 0.6201 MB / 1.695 GB, free: 3.277 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/1.663, allocations: 1.672 MB / 1.697 GB, free: 1.465 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/1.667, allocations: 375.3 kB / 1.697 GB, free: 1.102 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004917/1.667, allocations: 152 kB / 1.698 GB, free: 0.9531 MB / 1.357 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.003764/1.671, allocations: 2.51 MB / 1.7 GB, free: 14.43 MB / 1.373 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008035/1.672, allocations: 274.1 kB / 1.7 GB, free: 14.16 MB / 1.373 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006096/1.678, allocations: 3.502 MB / 1.704 GB, free: 10.64 MB / 1.373 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/1.678, allocations: 12 kB / 1.704 GB, free: 10.63 MB / 1.373 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.678, allocations: 0 / 1.704 GB, free: 10.63 MB / 1.373 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/1.678, allocations: 7.969 kB / 1.704 GB, free: 10.62 MB / 1.373 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/1.682, allocations: 2.093 MB / 1.706 GB, free: 8.473 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/1.682, allocations: 4 kB / 1.706 GB, free: 8.469 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009674/1.683, allocations: 207.6 kB / 1.706 GB, free: 8.266 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000487/1.683, allocations: 76.78 kB / 1.706 GB, free: 8.188 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001303/1.683, allocations: 43.97 kB / 1.706 GB, free: 8.145 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/1.685, allocations: 1.642 MB / 1.708 GB, free: 6.359 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.685, allocations: 4.062 kB / 1.708 GB, free: 6.355 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005596/1.691, allocations: 3.354 MB / 1.711 GB, free: 2.969 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/1.692, allocations: 0.5651 MB / 1.711 GB, free: 2.383 MB / 1.373 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003865/1.693, allocations: 40 kB / 1.711 GB, free: 2.344 MB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/1.694, allocations: 91.91 kB / 1.712 GB, free: 2.254 MB / 1.373 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002656/1.694, allocations: 105.1 kB / 1.712 GB, free: 2.148 MB / 1.373 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.694, allocations: 71.94 kB / 1.712 GB, free: 2.078 MB / 1.373 GB Notification: Performance of sorting global known variables: time 0.01353/1.708, allocations: 12.8 MB / 1.724 GB, free: 5.281 MB / 1.389 GB Notification: Performance of sort global known variables: time 3.61e-07/1.708, allocations: 0 / 1.724 GB, free: 5.281 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.00563/1.713, allocations: 1.798 MB / 1.726 GB, free: 3.48 MB / 1.389 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.003327/1.717, allocations: 1.016 MB / 1.727 GB, free: 2.637 MB / 1.389 GB Notification: Performance of simCode: created initialization part: time 0.04917/1.766, allocations: 41.26 MB / 1.767 GB, free: 9.34 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.766, allocations: 0 / 1.767 GB, free: 9.34 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.003166/1.769, allocations: 1.88 MB / 1.769 GB, free: 7.434 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/1.771, allocations: 493.5 kB / 1.77 GB, free: 6.973 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02954/1.801, allocations: 19.79 MB / 1.789 GB, free: 3.125 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006307/1.807, allocations: 4.645 MB / 1.793 GB, free: 14.45 MB / 1.467 GB Notification: Performance of simCode: alias equations: time 0.002153/1.809, allocations: 0.641 MB / 1.794 GB, free: 13.8 MB / 1.467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006995/1.81, allocations: 219.4 kB / 1.794 GB, free: 13.59 MB / 1.467 GB Notification: Performance of SimCode: time 1.143e-06/1.81, allocations: 0 / 1.794 GB, free: 13.59 MB / 1.467 GB Notification: Performance of Templates: time 0.828/2.638, allocations: 63.85 MB / 1.857 GB, free: 410.7 MB / 1.482 GB " [Timeout remaining time 297] make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.924868329428136]