Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001759/0.001759, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002005/0.002005, allocations: 187.6 kB / 16.25 MB, free: 6.645 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.478/1.478, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.761/2.761, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.91 kB / 0.8687 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8203/0.8223, allocations: 151.6 MB / 1.017 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic): time 0.0122/0.8346, allocations: 8.489 MB / 1.025 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.2164/1.051, allocations: 157.2 MB / 1.179 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/1.053, allocations: 31.75 kB / 1.179 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.006276/1.06, allocations: 1.818 MB / 1.18 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00434/1.064, allocations: 1.159 MB / 1.182 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/1.068, allocations: 1.307 MB / 1.183 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006972/1.075, allocations: 5.43 MB / 1.188 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/1.077, allocations: 1.231 MB / 1.189 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003345/1.08, allocations: 1.772 MB / 1.191 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0033/1.084, allocations: 1.624 MB / 1.193 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0007444/1.084, allocations: 292 kB / 1.193 GB, free: 13.67 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006017/1.09, allocations: 2.544 MB / 1.195 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.005207/1.096, allocations: 4.37 MB / 1.2 GB, free: 6.746 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003188/1.099, allocations: 1.722 MB / 1.201 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01224/1.111, allocations: 6.229 MB / 1.207 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/1.111, allocations: 0 / 1.207 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/1.111, allocations: 0 / 1.207 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 0.0001862/1.111, allocations: 0 / 1.207 GB, free: 14.77 MB / 0.9669 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.01062/1.122, allocations: 4.184 MB / 1.212 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.356e-05/1.122, allocations: 11.98 kB / 1.212 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001542/1.124, allocations: 432.4 kB / 1.212 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/1.139, allocations: 12.31 MB / 1.224 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/1.14, allocations: 171.1 kB / 1.224 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005402/1.14, allocations: 236 kB / 1.224 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004887/1.145, allocations: 2.369 MB / 1.227 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/1.145, allocations: 4 kB / 1.227 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/1.145, allocations: 68 kB / 1.227 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/1.146, allocations: 43.98 kB / 1.227 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004599/1.15, allocations: 2.459 MB / 1.229 GB, free: 8.285 MB / 0.9825 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.02569/1.176, allocations: 15.52 MB / 1.244 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00501/1.181, allocations: 1.985 MB / 1.246 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/1.183, allocations: 1.277 MB / 1.248 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/1.183, allocations: 41.09 kB / 1.248 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002134/1.185, allocations: 1.358 MB / 1.249 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=138): time 2.976e-06/1.185, allocations: 0 / 1.249 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=138): time 0.6235/1.809, allocations: 3.815 MB / 1.253 GB, free: 230.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003473/1.809, allocations: 359.9 kB / 1.253 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.037/1.846, allocations: 20.6 MB / 1.273 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006931/1.847, allocations: 88.66 kB / 1.273 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001629/1.848, allocations: 1.167 MB / 1.274 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006842/1.849, allocations: 470.4 kB / 1.275 GB, free: 223.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003679/1.853, allocations: 4.927 MB / 1.28 GB, free: 220.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.087e-05/1.853, allocations: 305.7 kB / 1.28 GB, free: 220.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02504/1.878, allocations: 38.67 MB / 1.318 GB, free: 183.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02667/1.905, allocations: 40.08 MB / 1.357 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03208/1.937, allocations: 47.72 MB / 1.403 GB, free: 95.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.134e-05/1.937, allocations: 9.938 kB / 1.403 GB, free: 95.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1852) (initialization): time 0.06771/2.005, allocations: 90.96 MB / 1.492 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002677/2.005, allocations: 205.6 kB / 1.492 GB, free: 3.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/2.005, allocations: 16 kB / 1.492 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006532/2.006, allocations: 112.9 kB / 1.493 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002596/2.008, allocations: 0.62 MB / 1.493 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/2.01, allocations: 1.683 MB / 1.495 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003333/2.014, allocations: 375.8 kB / 1.495 GB, free: 1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003655/2.014, allocations: 151.9 kB / 1.495 GB, free: 0.8555 MB / 0.9981 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.003191/2.017, allocations: 2.521 MB / 1.498 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006088/2.018, allocations: 256.4 kB / 1.498 GB, free: 14.08 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/2.024, allocations: 3.489 MB / 1.501 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/2.024, allocations: 12 kB / 1.501 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/2.024, allocations: 3.938 kB / 1.501 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/2.024, allocations: 11.97 kB / 1.501 GB, free: 10.55 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/2.027, allocations: 2.082 MB / 1.503 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/2.027, allocations: 3.75 kB / 1.503 GB, free: 8.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000959/2.028, allocations: 203.8 kB / 1.504 GB, free: 8.246 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004956/2.029, allocations: 76.73 kB / 1.504 GB, free: 8.168 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/2.029, allocations: 39.97 kB / 1.504 GB, free: 8.129 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/2.031, allocations: 1.661 MB / 1.505 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/2.031, allocations: 0 / 1.505 GB, free: 6.316 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005768/2.037, allocations: 3.341 MB / 1.509 GB, free: 2.945 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/2.038, allocations: 0.548 MB / 1.509 GB, free: 2.375 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004435/2.039, allocations: 35.94 kB / 1.509 GB, free: 2.34 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/2.04, allocations: 103.9 kB / 1.509 GB, free: 2.238 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002644/2.04, allocations: 101.2 kB / 1.509 GB, free: 2.141 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/2.04, allocations: 63.97 kB / 1.509 GB, free: 2.078 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.01408/2.054, allocations: 12.8 MB / 1.522 GB, free: 5.281 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.72e-07/2.054, allocations: 0 / 1.522 GB, free: 5.281 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005987/2.06, allocations: 1.783 MB / 1.524 GB, free: 3.578 MB / 1.029 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.003574/2.064, allocations: 1.014 MB / 1.525 GB, free: 2.848 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.05532/2.119, allocations: 51.77 MB / 1.575 GB, free: 15.06 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/2.119, allocations: 0 / 1.575 GB, free: 15.06 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003814/2.123, allocations: 2.708 MB / 1.578 GB, free: 12.33 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/2.126, allocations: 497.3 kB / 1.578 GB, free: 11.86 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02934/2.155, allocations: 21.15 MB / 1.599 GB, free: 6.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006825/2.162, allocations: 4.646 MB / 1.604 GB, free: 2 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.00231/2.164, allocations: 0.6448 MB / 1.604 GB, free: 1.352 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006792/2.165, allocations: 215.4 kB / 1.604 GB, free: 1.145 MB / 1.107 GB Notification: Performance of SimCode: time 5.82e-07/2.165, allocations: 0 / 1.604 GB, free: 1.145 MB / 1.107 GB Notification: Performance of Templates: time 0.1923/2.357, allocations: 60.61 MB / 1.664 GB, free: 4.84 MB / 1.17 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_WindowRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.WindowRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches