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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001403/0.001403, allocations: 116.3 kB / 16.37 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.458/2.458, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 55.91 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2778, allocations: 153 MB / 1.027 GB, free: 2.055 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.009887/0.2878, allocations: 8.537 MB / 1.035 GB, free: 9.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6329/0.9207, allocations: 159.4 MB / 1.191 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001829/0.9226, allocations: 42.5 kB / 1.191 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005188/0.9278, allocations: 1.991 MB / 1.193 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.9307, allocations: 1.246 MB / 1.194 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.9339, allocations: 1.452 MB / 1.195 GB, free: 9.93 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005171/0.939, allocations: 5.439 MB / 1.201 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.9406, allocations: 1.236 MB / 1.202 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.9429, allocations: 1.72 MB / 1.204 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.9446, allocations: 1.55 MB / 1.205 GB, free: 3.848 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0003245/0.945, allocations: 294.2 kB / 1.205 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003922/0.9489, allocations: 2.58 MB / 1.208 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.003047/0.9519, allocations: 4.357 MB / 1.212 GB, free: 15.65 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001675/0.9536, allocations: 1.726 MB / 1.214 GB, free: 13.92 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007035/0.9607, allocations: 6.318 MB / 1.22 GB, free: 7.582 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9607, allocations: 0 / 1.22 GB, free: 7.582 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9607, allocations: 4 kB / 1.22 GB, free: 7.578 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.861e-05/0.9608, allocations: 0 / 1.22 GB, free: 7.578 MB / 0.92 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.007368/0.9682, allocations: 4.188 MB / 1.224 GB, free: 3.312 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.9682, allocations: 12.03 kB / 1.224 GB, free: 3.301 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.9697, allocations: 420.4 kB / 1.224 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/0.9844, allocations: 12.35 MB / 1.237 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001937/0.9846, allocations: 171.1 kB / 1.237 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005342/0.9851, allocations: 236 kB / 1.237 GB, free: 6.074 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004223/0.9894, allocations: 2.377 MB / 1.239 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.9894, allocations: 4 kB / 1.239 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001718/0.9896, allocations: 68 kB / 1.239 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.9897, allocations: 40 kB / 1.239 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004734/0.9944, allocations: 2.459 MB / 1.242 GB, free: 1.062 MB / 0.9356 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.03/1.024, allocations: 15.47 MB / 1.257 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004899/1.029, allocations: 1.987 MB / 1.259 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002419/1.032, allocations: 1.277 MB / 1.26 GB, free: 14.08 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/1.032, allocations: 41.03 kB / 1.26 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002911/1.035, allocations: 1.362 MB / 1.261 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=138): time 3.817e-06/1.035, allocations: 0 / 1.261 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=138): time 0.01056/1.045, allocations: 3.815 MB / 1.265 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003667/1.046, allocations: 366.5 kB / 1.266 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05165/1.098, allocations: 20.6 MB / 1.286 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0007144/1.098, allocations: 85.7 kB / 1.286 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.002004/1.1, allocations: 1.163 MB / 1.287 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007743/1.101, allocations: 477.3 kB / 1.287 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006286/1.107, allocations: 4.915 MB / 1.292 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/1.108, allocations: 305.1 kB / 1.292 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.05436/1.162, allocations: 38.69 MB / 1.33 GB, free: 6.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05133/1.213, allocations: 40.08 MB / 1.369 GB, free: 13.76 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0444/1.258, allocations: 47.73 MB / 1.416 GB, free: 13.55 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/1.258, allocations: 8 kB / 1.416 GB, free: 13.55 MB / 1.123 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.0857/1.344, allocations: 90.97 MB / 1.505 GB, free: 2.164 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002601/1.344, allocations: 204.2 kB / 1.505 GB, free: 1.961 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.368e-05/1.344, allocations: 23.98 kB / 1.505 GB, free: 1.938 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006441/1.345, allocations: 108.9 kB / 1.505 GB, free: 1.828 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002538/1.347, allocations: 0.6161 MB / 1.506 GB, free: 1.211 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/1.349, allocations: 1.674 MB / 1.507 GB, free: 15.39 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002726/1.352, allocations: 372.1 kB / 1.508 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/1.352, allocations: 151.9 kB / 1.508 GB, free: 14.88 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.002577/1.355, allocations: 2.504 MB / 1.51 GB, free: 12.36 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/1.355, allocations: 256.5 kB / 1.511 GB, free: 12.1 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005249/1.36, allocations: 3.489 MB / 1.514 GB, free: 8.59 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/1.361, allocations: 12 kB / 1.514 GB, free: 8.578 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.361, allocations: 0 / 1.514 GB, free: 8.578 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/1.361, allocations: 11.95 kB / 1.514 GB, free: 8.566 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002454/1.363, allocations: 2.073 MB / 1.516 GB, free: 6.438 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.363, allocations: 4 kB / 1.516 GB, free: 6.434 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009149/1.364, allocations: 211.6 kB / 1.516 GB, free: 6.227 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/1.364, allocations: 72.78 kB / 1.516 GB, free: 6.152 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/1.365, allocations: 43.97 kB / 1.516 GB, free: 6.109 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/1.366, allocations: 1.654 MB / 1.518 GB, free: 4.305 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.366, allocations: 0 / 1.518 GB, free: 4.305 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004998/1.371, allocations: 3.341 MB / 1.521 GB, free: 0.9297 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.372, allocations: 0.5402 MB / 1.522 GB, free: 376 kB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/1.373, allocations: 39.94 kB / 1.522 GB, free: 336 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.374, allocations: 89.45 kB / 1.522 GB, free: 248 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/1.374, allocations: 105.1 kB / 1.522 GB, free: 144 kB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.374, allocations: 72.02 kB / 1.522 GB, free: 72 kB / 1.217 GB Notification: Performance of sorting global known variables: time 0.01044/1.385, allocations: 12.79 MB / 1.534 GB, free: 3.277 MB / 1.232 GB Notification: Performance of sort global known variables: time 5.11e-07/1.385, allocations: 4 kB / 1.534 GB, free: 3.273 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.004661/1.389, allocations: 1.783 MB / 1.536 GB, free: 1.488 MB / 1.232 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.002593/1.392, allocations: 1.005 MB / 1.537 GB, free: 0.6523 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.454/1.846, allocations: 50.92 MB / 1.587 GB, free: 422.6 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.846, allocations: 0.625 kB / 1.587 GB, free: 422.6 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002712/1.849, allocations: 2.72 MB / 1.59 GB, free: 421.3 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/1.851, allocations: 496.3 kB / 1.59 GB, free: 421.1 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01845/1.869, allocations: 19.09 MB / 1.609 GB, free: 406.9 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004927/1.874, allocations: 4.634 MB / 1.613 GB, free: 403.3 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001928/1.876, allocations: 0.6497 MB / 1.614 GB, free: 402.9 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005345/1.877, allocations: 218.7 kB / 1.614 GB, free: 402.7 MB / 1.232 GB Notification: Performance of SimCode: time 7.81e-07/1.877, allocations: 0 / 1.614 GB, free: 402.7 MB / 1.232 GB Notification: Performance of Templates: time 0.1644/2.041, allocations: 60.87 MB / 1.674 GB, free: 345.8 MB / 1.232 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 -s gbode -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/jenkins1/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