Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001874/0.001874, allocations: 79.5 kB / 19.76 MB, free: 2.031 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.002296/0.002296, allocations: 158.9 kB / 23.01 MB, free: 4.945 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.587/1.587, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.803/2.803, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002376/0.002376, allocations: 59.91 kB / 0.982 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9489/0.9513, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.00827/0.9595, allocations: 7.553 MB / 1.161 GB, free: 28.34 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.2042/1.164, allocations: 140.7 MB / 1.299 GB, free: 13.73 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/1.165, allocations: 54.78 kB / 1.299 GB, free: 13.7 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006586/1.172, allocations: 2.099 MB / 1.301 GB, free: 12.75 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.00436/1.176, allocations: 1.292 MB / 1.302 GB, free: 11.77 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004254/1.181, allocations: 1.506 MB / 1.304 GB, free: 10.62 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.008225/1.189, allocations: 5.683 MB / 1.309 GB, free: 6.996 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/1.191, allocations: 0.7761 MB / 1.31 GB, free: 6.445 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/1.195, allocations: 1.772 MB / 1.312 GB, free: 5.422 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003642/1.198, allocations: 1.589 MB / 1.313 GB, free: 4.422 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0007936/1.199, allocations: 296.7 kB / 1.313 GB, free: 4.418 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007216/1.206, allocations: 2.824 MB / 1.316 GB, free: 2.582 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.005316/1.212, allocations: 4.37 MB / 1.32 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003053/1.215, allocations: 1.388 MB / 1.322 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01279/1.227, allocations: 6.443 MB / 1.328 GB, free: 6.348 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.227, allocations: 0 / 1.328 GB, free: 6.348 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.806e-06/1.227, allocations: 4 kB / 1.328 GB, free: 6.344 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001841/1.228, allocations: 0 / 1.328 GB, free: 6.344 MB / 1.17 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.01053/1.238, allocations: 4.236 MB / 1.332 GB, free: 2.043 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.238, allocations: 8.031 kB / 1.332 GB, free: 2.035 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002712/1.241, allocations: 0.5101 MB / 1.333 GB, free: 1.523 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01525/1.256, allocations: 12.29 MB / 1.345 GB, free: 5.156 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/1.256, allocations: 171.1 kB / 1.345 GB, free: 4.988 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000669/1.257, allocations: 236 kB / 1.345 GB, free: 4.758 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004502/1.262, allocations: 2.777 MB / 1.348 GB, free: 1.797 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/1.262, allocations: 3.938 kB / 1.348 GB, free: 1.793 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/1.262, allocations: 72 kB / 1.348 GB, free: 1.723 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/1.262, allocations: 36 kB / 1.348 GB, free: 1.688 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00404/1.266, allocations: 2.34 MB / 1.35 GB, free: 15.34 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02217/1.288, allocations: 14.1 MB / 1.364 GB, free: 1.125 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/1.292, allocations: 1.588 MB / 1.366 GB, free: 15.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/1.294, allocations: 0.9157 MB / 1.366 GB, free: 14.6 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/1.294, allocations: 28.97 kB / 1.366 GB, free: 14.57 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002496/1.296, allocations: 1.594 MB / 1.368 GB, free: 12.88 MB / 1.217 GB Notification: Performance of pre-optimization done (n=138): time 4.308e-06/1.296, allocations: 0 / 1.368 GB, free: 12.88 MB / 1.217 GB Notification: Performance of matching and sorting (n=138): time 0.00786/1.304, allocations: 3.378 MB / 1.371 GB, free: 9.469 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002959/1.304, allocations: 338.5 kB / 1.372 GB, free: 9.09 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03584/1.34, allocations: 20.54 MB / 1.392 GB, free: 4.52 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0006019/1.341, allocations: 85.7 kB / 1.392 GB, free: 4.43 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001984/1.343, allocations: 1.184 MB / 1.393 GB, free: 3.234 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008095/1.344, allocations: 499.9 kB / 1.393 GB, free: 2.742 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006078/1.35, allocations: 5.011 MB / 1.398 GB, free: 13.71 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.35, allocations: 309.1 kB / 1.399 GB, free: 13.4 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04166/1.391, allocations: 38.6 MB / 1.436 GB, free: 6.781 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04407/1.436, allocations: 40.13 MB / 1.475 GB, free: 14.35 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05263/1.488, allocations: 47.47 MB / 1.522 GB, free: 14.41 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.325e-05/1.488, allocations: 4 kB / 1.522 GB, free: 14.4 MB / 1.373 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.1043/1.592, allocations: 91.11 MB / 1.611 GB, free: 2.871 MB / 1.451 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002878/1.593, allocations: 177.6 kB / 1.611 GB, free: 2.691 MB / 1.451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.291e-05/1.593, allocations: 16 kB / 1.611 GB, free: 2.676 MB / 1.451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006938/1.594, allocations: 120.8 kB / 1.611 GB, free: 2.555 MB / 1.451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/1.596, allocations: 0.6122 MB / 1.612 GB, free: 1.941 MB / 1.451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/1.598, allocations: 1.543 MB / 1.613 GB, free: 296 kB / 1.451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002969/1.601, allocations: 373.5 kB / 1.614 GB, free: 15.92 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/1.602, allocations: 155.9 kB / 1.614 GB, free: 15.77 MB / 1.467 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.003114/1.605, allocations: 2.484 MB / 1.616 GB, free: 13.27 MB / 1.467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005433/1.605, allocations: 266.1 kB / 1.616 GB, free: 13 MB / 1.467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005487/1.611, allocations: 3.014 MB / 1.619 GB, free: 9.961 MB / 1.467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/1.611, allocations: 12 kB / 1.619 GB, free: 9.949 MB / 1.467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-06/1.611, allocations: 0 / 1.619 GB, free: 9.949 MB / 1.467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/1.611, allocations: 7.969 kB / 1.619 GB, free: 9.941 MB / 1.467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/1.613, allocations: 1.556 MB / 1.621 GB, free: 8.348 MB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.613, allocations: 0 / 1.621 GB, free: 8.348 MB / 1.467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009399/1.614, allocations: 207.7 kB / 1.621 GB, free: 8.145 MB / 1.467 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004622/1.615, allocations: 72.78 kB / 1.621 GB, free: 8.07 MB / 1.467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001118/1.615, allocations: 43.91 kB / 1.621 GB, free: 8.027 MB / 1.467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/1.617, allocations: 1.536 MB / 1.623 GB, free: 6.383 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.617, allocations: 4.062 kB / 1.623 GB, free: 6.379 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004919/1.622, allocations: 2.875 MB / 1.626 GB, free: 3.465 MB / 1.467 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.623, allocations: 485.7 kB / 1.626 GB, free: 2.988 MB / 1.467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002658/1.623, allocations: 35.92 kB / 1.626 GB, free: 2.953 MB / 1.467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.624, allocations: 87.91 kB / 1.626 GB, free: 2.867 MB / 1.467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/1.624, allocations: 113.1 kB / 1.626 GB, free: 2.754 MB / 1.467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.625, allocations: 67.97 kB / 1.626 GB, free: 2.688 MB / 1.467 GB Notification: Performance of sorting global known variables: time 0.01244/1.637, allocations: 12.75 MB / 1.639 GB, free: 5.938 MB / 1.482 GB Notification: Performance of sort global known variables: time 9e-08/1.637, allocations: 0 / 1.639 GB, free: 5.938 MB / 1.482 GB Notification: Performance of remove unused functions: time 0.005906/1.643, allocations: 1.81 MB / 1.64 GB, free: 4.125 MB / 1.482 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.003746/1.647, allocations: 1.06 MB / 1.642 GB, free: 3.27 MB / 1.482 GB Notification: Performance of simCode: created initialization part: time 0.06554/1.712, allocations: 40.95 MB / 1.682 GB, free: 10.27 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.712, allocations: 0 / 1.682 GB, free: 10.27 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.004194/1.716, allocations: 1.616 MB / 1.683 GB, free: 8.625 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.72, allocations: 470.9 kB / 1.684 GB, free: 8.188 MB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/1.75, allocations: 20.23 MB / 1.703 GB, free: 3.895 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006106/1.756, allocations: 4.158 MB / 1.707 GB, free: 15.71 MB / 1.561 GB Notification: Performance of simCode: alias equations: time 0.002293/1.759, allocations: 0.6477 MB / 1.708 GB, free: 15.05 MB / 1.561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006284/1.759, allocations: 224.4 kB / 1.708 GB, free: 14.84 MB / 1.561 GB Notification: Performance of SimCode: time 1.032e-06/1.759, allocations: 0 / 1.708 GB, free: 14.84 MB / 1.561 GB Notification: Performance of Templates: time 0.7796/2.539, allocations: 61.67 MB / 1.768 GB, free: 497.2 MB / 1.561 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.430480668903328]