Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 75.75 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002575/0.002575, allocations: 156 kB / 23 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.888/2.888, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 71.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9206/0.9228, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00862/0.9314, allocations: 7.545 MB / 1.194 GB, free: 11.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.201/1.132, allocations: 140.7 MB / 1.331 GB, free: 1.633 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00232/1.135, allocations: 47.62 kB / 1.331 GB, free: 1.586 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006113/1.141, allocations: 2.093 MB / 1.333 GB, free: 15.49 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004435/1.145, allocations: 1.301 MB / 1.335 GB, free: 14.18 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004279/1.15, allocations: 1.502 MB / 1.336 GB, free: 12.69 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.007247/1.157, allocations: 5.687 MB / 1.342 GB, free: 6.984 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/1.158, allocations: 0.7793 MB / 1.343 GB, free: 6.156 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003456/1.162, allocations: 1.765 MB / 1.344 GB, free: 4.387 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00289/1.165, allocations: 1.596 MB / 1.346 GB, free: 2.785 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0005159/1.165, allocations: 292 kB / 1.346 GB, free: 2.5 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005477/1.171, allocations: 2.824 MB / 1.349 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.004391/1.175, allocations: 4.373 MB / 1.353 GB, free: 11.29 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002172/1.177, allocations: 1.38 MB / 1.354 GB, free: 9.906 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01061/1.188, allocations: 6.439 MB / 1.361 GB, free: 3.445 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.188, allocations: 4 kB / 1.361 GB, free: 3.441 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.964e-06/1.188, allocations: 0 / 1.361 GB, free: 3.441 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001087/1.188, allocations: 0 / 1.361 GB, free: 3.441 MB / 1.201 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.008932/1.197, allocations: 4.241 MB / 1.365 GB, free: 15.13 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/1.197, allocations: 8.031 kB / 1.365 GB, free: 15.12 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/1.2, allocations: 0.5101 MB / 1.365 GB, free: 14.61 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01492/1.215, allocations: 12.29 MB / 1.377 GB, free: 2.246 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/1.215, allocations: 175.1 kB / 1.378 GB, free: 2.074 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004572/1.215, allocations: 236 kB / 1.378 GB, free: 1.844 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00467/1.22, allocations: 2.781 MB / 1.381 GB, free: 14.88 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/1.22, allocations: 3.938 kB / 1.381 GB, free: 14.88 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/1.22, allocations: 72 kB / 1.381 GB, free: 14.8 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.811e-05/1.22, allocations: 36 kB / 1.381 GB, free: 14.77 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/1.224, allocations: 2.336 MB / 1.383 GB, free: 12.42 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02161/1.246, allocations: 14.11 MB / 1.397 GB, free: 14.21 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003306/1.249, allocations: 1.582 MB / 1.398 GB, free: 12.61 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/1.251, allocations: 0.908 MB / 1.399 GB, free: 11.7 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/1.251, allocations: 28.98 kB / 1.399 GB, free: 11.66 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002261/1.253, allocations: 1.598 MB / 1.401 GB, free: 9.973 MB / 1.248 GB Notification: Performance of pre-optimization done (n=138): time 3.015e-06/1.253, allocations: 8 kB / 1.401 GB, free: 9.965 MB / 1.248 GB Notification: Performance of matching and sorting (n=138): time 0.007265/1.26, allocations: 3.374 MB / 1.404 GB, free: 6.559 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002684/1.261, allocations: 342.5 kB / 1.404 GB, free: 6.176 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03435/1.295, allocations: 20.54 MB / 1.424 GB, free: 1.605 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.000595/1.296, allocations: 81.7 kB / 1.424 GB, free: 1.52 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0021/1.298, allocations: 1.191 MB / 1.426 GB, free: 324 kB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009371/1.299, allocations: 499.8 kB / 1.426 GB, free: 15.82 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00675/1.305, allocations: 5.007 MB / 1.431 GB, free: 10.79 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0002367/1.306, allocations: 309.1 kB / 1.431 GB, free: 10.49 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04297/1.349, allocations: 38.61 MB / 1.469 GB, free: 3.863 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04473/1.393, allocations: 40.14 MB / 1.508 GB, free: 11.43 MB / 1.357 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06892/1.462, allocations: 47.46 MB / 1.555 GB, free: 11.49 MB / 1.404 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.899e-05/1.462, allocations: 4 kB / 1.555 GB, free: 11.48 MB / 1.404 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1275/1.59, allocations: 91.11 MB / 1.644 GB, free: 15.95 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002878/1.59, allocations: 173.6 kB / 1.644 GB, free: 15.77 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.478e-05/1.59, allocations: 23.94 kB / 1.644 GB, free: 15.75 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007196/1.591, allocations: 112.9 kB / 1.644 GB, free: 15.64 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/1.594, allocations: 0.6084 MB / 1.644 GB, free: 15.03 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002436/1.596, allocations: 1.546 MB / 1.646 GB, free: 13.38 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/1.6, allocations: 374.6 kB / 1.646 GB, free: 13.01 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005321/1.6, allocations: 155.9 kB / 1.646 GB, free: 12.86 MB / 1.498 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.003883/1.604, allocations: 2.476 MB / 1.649 GB, free: 10.37 MB / 1.498 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008081/1.605, allocations: 274 kB / 1.649 GB, free: 10.1 MB / 1.498 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005877/1.611, allocations: 3.006 MB / 1.652 GB, free: 7.062 MB / 1.498 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.857e-05/1.611, allocations: 12 kB / 1.652 GB, free: 7.051 MB / 1.498 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/1.611, allocations: 0 / 1.652 GB, free: 7.051 MB / 1.498 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/1.611, allocations: 7.969 kB / 1.652 GB, free: 7.043 MB / 1.498 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/1.614, allocations: 1.563 MB / 1.654 GB, free: 5.441 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/1.614, allocations: 0 / 1.654 GB, free: 5.441 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009919/1.615, allocations: 207.7 kB / 1.654 GB, free: 5.238 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/1.615, allocations: 72.78 kB / 1.654 GB, free: 5.164 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001347/1.615, allocations: 43.97 kB / 1.654 GB, free: 5.121 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/1.618, allocations: 1.536 MB / 1.655 GB, free: 3.477 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/1.618, allocations: 0 / 1.655 GB, free: 3.477 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/1.623, allocations: 2.876 MB / 1.658 GB, free: 0.5664 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.625, allocations: 481.7 kB / 1.659 GB, free: 96 kB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003868/1.625, allocations: 32 kB / 1.659 GB, free: 64 kB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.626, allocations: 91.89 kB / 1.659 GB, free: 15.97 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003236/1.626, allocations: 109.1 kB / 1.659 GB, free: 15.86 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.627, allocations: 63.97 kB / 1.659 GB, free: 15.8 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01372/1.64, allocations: 12.75 MB / 1.671 GB, free: 3.043 MB / 1.514 GB Notification: Performance of sort global known variables: time 2.61e-07/1.64, allocations: 0 / 1.671 GB, free: 3.043 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.005327/1.646, allocations: 1.814 MB / 1.673 GB, free: 1.227 MB / 1.514 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.003541/1.649, allocations: 1.048 MB / 1.674 GB, free: 388 kB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.04642/1.696, allocations: 40.95 MB / 1.714 GB, free: 7.379 MB / 1.561 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.696, allocations: 4.375 kB / 1.714 GB, free: 7.375 MB / 1.561 GB Notification: Performance of simCode: created simulation system equations: time 0.002897/1.698, allocations: 1.612 MB / 1.716 GB, free: 5.73 MB / 1.561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.701, allocations: 477.8 kB / 1.716 GB, free: 5.281 MB / 1.561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6332/2.334, allocations: 20.23 MB / 1.736 GB, free: 488.2 MB / 1.561 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006149/2.34, allocations: 4.159 MB / 1.74 GB, free: 487.1 MB / 1.561 GB Notification: Performance of simCode: alias equations: time 0.00201/2.342, allocations: 0.6402 MB / 1.741 GB, free: 487.1 MB / 1.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/2.343, allocations: 224.2 kB / 1.741 GB, free: 487.1 MB / 1.561 GB Notification: Performance of SimCode: time 9.01e-07/2.343, allocations: 0 / 1.741 GB, free: 487.1 MB / 1.561 GB Notification: Performance of Templates: time 0.1566/2.499, allocations: 61.68 MB / 1.801 GB, free: 462.4 MB / 1.561 GB " [Timeout remaining time 297] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.996542737004347]