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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001515/0.001515, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 196.6 kB / 16.53 MB, free: 6.672 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 75.05 kB / 0.9121 GB, free: 33.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3823, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.01092/0.3932, allocations: 8.52 MB / 1.077 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1893/0.5825, allocations: 159.4 MB / 1.232 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002265/0.5848, allocations: 39.81 kB / 1.232 GB, free: 1.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.005694/0.5906, allocations: 1.988 MB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004117/0.5947, allocations: 1.247 MB / 1.235 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004027/0.5987, allocations: 1.441 MB / 1.237 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006081/0.6048, allocations: 5.423 MB / 1.242 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002335/0.6072, allocations: 1.231 MB / 1.243 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.6104, allocations: 1.722 MB / 1.245 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002891/0.6133, allocations: 1.559 MB / 1.247 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001161/0.6145, allocations: 292 kB / 1.247 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0059/0.6204, allocations: 2.536 MB / 1.249 GB, free: 236 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.6514/1.272, allocations: 4.359 MB / 1.254 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004359/1.276, allocations: 1.723 MB / 1.255 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009652/1.286, allocations: 6.216 MB / 1.261 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/1.286, allocations: 1.906 kB / 1.261 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/1.286, allocations: 0 / 1.261 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001852/1.286, allocations: 2.625 kB / 1.261 GB, free: 13.18 MB / 0.9981 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.01034/1.296, allocations: 4.177 MB / 1.265 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/1.296, allocations: 12.88 kB / 1.265 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00144/1.298, allocations: 421.3 kB / 1.266 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01613/1.314, allocations: 12.3 MB / 1.278 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000318/1.314, allocations: 181.1 kB / 1.278 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001251/1.316, allocations: 232.2 kB / 1.278 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004898/1.321, allocations: 2.376 MB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/1.321, allocations: 0.875 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001826/1.321, allocations: 71.72 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/1.321, allocations: 38.34 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004056/1.325, allocations: 2.462 MB / 1.283 GB, free: 10.25 MB / 0.9981 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.01959/1.345, allocations: 15.53 MB / 1.298 GB, free: 8.355 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/1.348, allocations: 1.982 MB / 1.3 GB, free: 8.328 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/1.349, allocations: 1.28 MB / 1.301 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.439e-05/1.349, allocations: 35.23 kB / 1.301 GB, free: 8.316 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001605/1.351, allocations: 1.359 MB / 1.303 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.866e-06/1.351, allocations: 0 / 1.303 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.006598/1.357, allocations: 3.816 MB / 1.306 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/1.357, allocations: 368 kB / 1.307 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02896/1.386, allocations: 20.6 MB / 1.327 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008383/1.387, allocations: 89.86 kB / 1.327 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/1.389, allocations: 1.165 MB / 1.328 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006567/1.39, allocations: 470.3 kB / 1.329 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003312/1.393, allocations: 4.925 MB / 1.333 GB, free: 464 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.26e-05/1.393, allocations: 309.9 kB / 1.334 GB, free: 152 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05963/1.453, allocations: 40.88 MB / 1.374 GB, free: 15.16 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03808/1.491, allocations: 40.08 MB / 1.413 GB, free: 6.879 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04622/1.537, allocations: 47.73 MB / 1.459 GB, free: 6.785 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.744e-05/1.537, allocations: 4 kB / 1.459 GB, free: 6.781 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.09153/1.629, allocations: 90.96 MB / 1.548 GB, free: 11.55 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.000294/1.629, allocations: 201.6 kB / 1.548 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.169e-05/1.629, allocations: 20 kB / 1.548 GB, free: 11.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006816/1.63, allocations: 116.4 kB / 1.549 GB, free: 11.21 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/1.633, allocations: 0.6149 MB / 1.549 GB, free: 10.64 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/1.636, allocations: 1.668 MB / 1.551 GB, free: 8.859 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/1.64, allocations: 374.7 kB / 1.551 GB, free: 8.5 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006032/1.64, allocations: 156.9 kB / 1.551 GB, free: 8.352 MB / 1.217 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.003316/1.644, allocations: 2.512 MB / 1.554 GB, free: 5.879 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006979/1.644, allocations: 256.5 kB / 1.554 GB, free: 5.625 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/1.65, allocations: 3.492 MB / 1.557 GB, free: 2.148 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/1.65, allocations: 13.83 kB / 1.557 GB, free: 2.137 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.65, allocations: 0.875 kB / 1.557 GB, free: 2.137 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/1.65, allocations: 7.969 kB / 1.557 GB, free: 2.129 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00359/1.654, allocations: 2.084 MB / 1.559 GB, free: 16 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/1.654, allocations: 0 / 1.559 GB, free: 16 kB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009554/1.655, allocations: 211.2 kB / 1.56 GB, free: 15.82 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004985/1.655, allocations: 79.53 kB / 1.56 GB, free: 15.75 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001424/1.656, allocations: 39.98 kB / 1.56 GB, free: 15.71 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001984/1.658, allocations: 1.653 MB / 1.561 GB, free: 13.93 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.658, allocations: 4 kB / 1.561 GB, free: 13.93 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005418/1.663, allocations: 3.341 MB / 1.565 GB, free: 10.56 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001138/1.664, allocations: 0.5441 MB / 1.565 GB, free: 9.996 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004001/1.665, allocations: 36.84 kB / 1.565 GB, free: 9.961 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.666, allocations: 89.75 kB / 1.565 GB, free: 9.875 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002563/1.666, allocations: 106 kB / 1.565 GB, free: 9.773 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/1.666, allocations: 67.97 kB / 1.565 GB, free: 9.707 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.01153/1.678, allocations: 12.8 MB / 1.578 GB, free: 12.91 MB / 1.248 GB Notification: Performance of sort global known variables: time 4.21e-07/1.678, allocations: 1.031 kB / 1.578 GB, free: 12.91 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005356/1.683, allocations: 1.782 MB / 1.58 GB, free: 11.13 MB / 1.248 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.003231/1.686, allocations: 1.008 MB / 1.581 GB, free: 10.4 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.04757/1.734, allocations: 51.76 MB / 1.631 GB, free: 6.734 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.734, allocations: 7.906 kB / 1.631 GB, free: 6.73 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.003486/1.737, allocations: 2.717 MB / 1.634 GB, free: 4.012 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/1.741, allocations: 0.494 MB / 1.634 GB, free: 3.543 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/1.767, allocations: 19.25 MB / 1.653 GB, free: 368 kB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005862/1.772, allocations: 4.65 MB / 1.658 GB, free: 11.68 MB / 1.326 GB Notification: Performance of simCode: alias equations: time 0.002966/1.775, allocations: 0.6409 MB / 1.658 GB, free: 11.04 MB / 1.326 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000787/1.776, allocations: 219.4 kB / 1.659 GB, free: 10.82 MB / 1.326 GB Notification: Performance of SimCode: time 8.22e-07/1.776, allocations: 0 / 1.659 GB, free: 10.82 MB / 1.326 GB Notification: Performance of Templates: time 0.1835/1.96, allocations: 60.79 MB / 1.718 GB, free: 14.45 MB / 1.389 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches