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.0009958/0.0009958, allocations: 77.86 kB / 20.66 MB, free: 3.832 MB / 18.57 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.001205/0.001205, allocations: 165 kB / 24.05 MB, free: 448 kB / 18.57 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.01/1.01, allocations: 177.2 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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.145/2.145, allocations: 429.5 MB / 0.6743 GB, free: 3.938 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.498e-05, allocations: 2.312 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.007313/0.007338, allocations: 8.057 MB / 0.8873 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.134/0.1414, allocations: 152.1 MB / 1.036 GB, free: 5.363 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.1427, allocations: 51.56 kB / 1.036 GB, free: 5.312 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003476/0.1461, allocations: 2.127 MB / 1.038 GB, free: 3.176 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.1481, allocations: 1.321 MB / 1.039 GB, free: 1.848 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.1504, allocations: 1.578 MB / 1.041 GB, free: 272 kB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002825/0.1532, allocations: 4.548 MB / 1.045 GB, free: 11.7 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000893/0.1541, allocations: 0.7837 MB / 1.046 GB, free: 10.87 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.1561, allocations: 2.398 MB / 1.048 GB, free: 8.469 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.1572, allocations: 1.317 MB / 1.05 GB, free: 7.148 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002793/0.1575, allocations: 284 kB / 1.05 GB, free: 6.871 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003183/0.1607, allocations: 2.835 MB / 1.053 GB, free: 4.031 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.4599/0.6206, allocations: 4.374 MB / 1.057 GB, free: 57.49 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.002154/0.6227, allocations: 1.129 MB / 1.058 GB, free: 57.49 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0062/0.6289, allocations: 5.062 MB / 1.063 GB, free: 57.23 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6289, allocations: 0 / 1.063 GB, free: 57.23 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.623e-06/0.629, allocations: 0 / 1.063 GB, free: 57.23 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.852e-05/0.629, allocations: 0 / 1.063 GB, free: 57.23 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004193/0.6332, allocations: 4.397 MB / 1.067 GB, free: 55.22 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.6332, allocations: 7.719 kB / 1.067 GB, free: 55.22 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001353/0.6346, allocations: 0.6703 MB / 1.068 GB, free: 54.98 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.637, allocations: 2.719 MB / 1.071 GB, free: 54.34 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.541e-05/0.6371, allocations: 184.5 kB / 1.071 GB, free: 54.34 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.6373, allocations: 248.9 kB / 1.071 GB, free: 54.34 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.6387, allocations: 1.872 MB / 1.073 GB, free: 53.53 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.6387, allocations: 1.156 kB / 1.073 GB, free: 53.53 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.985e-05/0.6388, allocations: 70.78 kB / 1.073 GB, free: 53.53 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.999e-05/0.6389, allocations: 41.72 kB / 1.073 GB, free: 53.53 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.6399, allocations: 1.126 MB / 1.074 GB, free: 53.47 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005581/0.6455, allocations: 5.613 MB / 1.079 GB, free: 51.89 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009742/0.6465, allocations: 0.8499 MB / 1.08 GB, free: 51.82 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003916/0.6468, allocations: 487.3 kB / 1.081 GB, free: 51.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 5.919e-05/0.6469, allocations: 40.83 kB / 1.081 GB, free: 51.77 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007224/0.6476, allocations: 1.093 MB / 1.082 GB, free: 51.27 MB / 1.01 GB Notification: Performance of pre-optimization done (n=148): time 2.545e-06/0.6476, allocations: 0 / 1.082 GB, free: 51.27 MB / 1.01 GB Notification: Performance of matching and sorting (n=148): time 0.002282/0.6499, allocations: 2.027 MB / 1.084 GB, free: 50.93 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.65, allocations: 336.3 kB / 1.084 GB, free: 50.68 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.6525, allocations: 2.802 MB / 1.087 GB, free: 50.25 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.6527, allocations: 92.98 kB / 1.087 GB, free: 50.22 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.00084/0.6535, allocations: 1.39 MB / 1.088 GB, free: 49.78 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.6538, allocations: 0.5102 MB / 1.089 GB, free: 49.46 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005195/0.659, allocations: 6.7 MB / 1.095 GB, free: 48.33 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.659, allocations: 477.8 kB / 1.096 GB, free: 47.86 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006473/0.6655, allocations: 7.56 MB / 1.103 GB, free: 47.81 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008262/0.6737, allocations: 10.18 MB / 1.113 GB, free: 46.51 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.6847, allocations: 16.77 MB / 1.13 GB, free: 39.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.636e-05/0.6847, allocations: 6.812 kB / 1.13 GB, free: 39.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=1867) (initialization): time 0.02481/0.7095, allocations: 42.16 MB / 1.171 GB, free: 18 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.7097, allocations: 165 kB / 1.171 GB, free: 17.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/0.7097, allocations: 24.59 kB / 1.171 GB, free: 17.88 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005217/0.7103, allocations: 158.5 kB / 1.171 GB, free: 17.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001354/0.7116, allocations: 0.6257 MB / 1.172 GB, free: 17.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.7128, allocations: 1.911 MB / 1.174 GB, free: 15.4 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.7146, allocations: 355.3 kB / 1.174 GB, free: 15.12 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001795/0.7147, allocations: 133 kB / 1.174 GB, free: 15.03 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 32 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.k,$PRE.HDirTil.incAng.decAng.k,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 (411): * Single equations (assignments): 370 * 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.0009858/0.7157, allocations: 498.5 kB / 1.174 GB, free: 14.71 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.716, allocations: 317.5 kB / 1.175 GB, free: 14.41 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002112/0.7181, allocations: 1.827 MB / 1.177 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.7181, allocations: 15.86 kB / 1.177 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.7181, allocations: 3.188 kB / 1.177 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.7182, allocations: 7.5 kB / 1.177 GB, free: 13.21 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003796/0.7219, allocations: 3.379 MB / 1.18 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.722, allocations: 0.7969 kB / 1.18 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.7224, allocations: 201.8 kB / 1.18 GB, free: 10.99 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003572/0.7228, allocations: 119.1 kB / 1.18 GB, free: 10.91 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.911e-05/0.7228, allocations: 40.2 kB / 1.18 GB, free: 10.89 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008825/0.7237, allocations: 1.895 MB / 1.182 GB, free: 9.02 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7237, allocations: 0 / 1.182 GB, free: 9.02 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.7255, allocations: 1.939 MB / 1.184 GB, free: 7.492 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004899/0.726, allocations: 447.6 kB / 1.184 GB, free: 7.203 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.7262, allocations: 42.34 kB / 1.184 GB, free: 7.184 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004303/0.7266, allocations: 55.66 kB / 1.184 GB, free: 7.156 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.7268, allocations: 105.1 kB / 1.185 GB, free: 7.121 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-05/0.7269, allocations: 61.08 kB / 1.185 GB, free: 7.082 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001307/0.7282, allocations: 1.337 MB / 1.186 GB, free: 6.234 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.7282, allocations: 0 / 1.186 GB, free: 6.234 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003266/0.7315, allocations: 1.825 MB / 1.188 GB, free: 4.531 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 12 (weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,HDirTil.incAng.decAng.tNext,HDirTil.incAng.decAng.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (133): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 12 * 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.00201/0.7335, allocations: 1.105 MB / 1.189 GB, free: 3.793 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.02194/0.7554, allocations: 12.89 MB / 1.201 GB, free: 12.59 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.7554, allocations: 0 / 1.201 GB, free: 12.59 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.7565, allocations: 1.132 MB / 1.203 GB, free: 11.74 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.7581, allocations: 0.5084 MB / 1.203 GB, free: 11.47 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01344/0.7715, allocations: 14.81 MB / 1.217 GB, free: 14.64 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.7729, allocations: 1.72 MB / 1.219 GB, free: 13.8 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001014/0.7739, allocations: 443.4 kB / 1.22 GB, free: 13.5 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/0.7751, allocations: 0.6689 MB / 1.22 GB, free: 12.95 MB / 1.042 GB Notification: Performance of SimCode: time 2.194e-06/0.7751, allocations: 0 / 1.22 GB, free: 12.95 MB / 1.042 GB Notification: Performance of Templates: time 0.09484/0.8699, allocations: 68.8 MB / 1.287 GB, free: 3.797 MB / 1.089 GB " [Timeout remaining time 299] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.805563089903444]