Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.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.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") translateModel(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|winAbs.QAbsGlaUns_flow.1|1.|winAbs.QAbsGlaUns_flow.1|2.|winAbs.QAbsGlaUns_flow.2|1.|winAbs.QAbsGlaUns_flow.2|2.",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002181/0.00218, allocations: 108.1 kB / 16.41 MB, free: 6.41 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.002558/0.002558, allocations: 191.5 kB / 17.34 MB, free: 5.691 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.529/1.529, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.688/2.688, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.83 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009435/1.012, allocations: 7.294 MB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.2051/1.217, allocations: 155.5 MB / 1.326 GB, free: 420 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/1.219, allocations: 23.88 kB / 1.326 GB, free: 396 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005262/1.224, allocations: 1.826 MB / 1.328 GB, free: 14.55 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003142/1.227, allocations: 0.8625 MB / 1.329 GB, free: 13.69 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/1.23, allocations: 1.037 MB / 1.33 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00472/1.235, allocations: 3.583 MB / 1.333 GB, free: 9.066 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/1.237, allocations: 0.9133 MB / 1.334 GB, free: 8.105 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002263/1.239, allocations: 1.173 MB / 1.336 GB, free: 6.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00165/1.24, allocations: 1.043 MB / 1.337 GB, free: 5.883 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003072/1.241, allocations: 196 kB / 1.337 GB, free: 5.691 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004443/1.245, allocations: 2.251 MB / 1.339 GB, free: 3.438 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002007/1.247, allocations: 1.915 MB / 1.341 GB, free: 1.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001661/1.249, allocations: 1.17 MB / 1.342 GB, free: 352 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00849/1.257, allocations: 4.45 MB / 1.346 GB, free: 11.88 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.257, allocations: 0 / 1.346 GB, free: 11.88 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.392e-06/1.257, allocations: 0 / 1.346 GB, free: 11.88 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.434e-05/1.258, allocations: 0 / 1.346 GB, free: 11.88 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.006536/1.264, allocations: 3.074 MB / 1.349 GB, free: 8.73 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/1.264, allocations: 12.92 kB / 1.349 GB, free: 8.719 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/1.265, allocations: 327.2 kB / 1.35 GB, free: 8.398 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005982/1.271, allocations: 4.592 MB / 1.354 GB, free: 3.758 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/1.271, allocations: 138.4 kB / 1.354 GB, free: 3.621 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002781/1.272, allocations: 188 kB / 1.354 GB, free: 3.438 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003375/1.275, allocations: 1.656 MB / 1.356 GB, free: 1.719 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/1.275, allocations: 0 / 1.356 GB, free: 1.719 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/1.275, allocations: 48 kB / 1.356 GB, free: 1.672 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-05/1.275, allocations: 32 kB / 1.356 GB, free: 1.641 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003154/1.278, allocations: 1.722 MB / 1.358 GB, free: 15.91 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/1.293, allocations: 7.396 MB / 1.365 GB, free: 8.34 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/1.295, allocations: 1.583 MB / 1.367 GB, free: 6.754 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/1.297, allocations: 1.039 MB / 1.368 GB, free: 5.715 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.1e-05/1.297, allocations: 33.19 kB / 1.368 GB, free: 5.684 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/1.299, allocations: 0.9773 MB / 1.369 GB, free: 4.691 MB / 1.092 GB Notification: Performance of pre-optimization done (n=118): time 5.16e-06/1.299, allocations: 0 / 1.369 GB, free: 4.691 MB / 1.092 GB Notification: Performance of matching and sorting (n=118): time 0.005708/1.304, allocations: 2.86 MB / 1.371 GB, free: 1.82 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003456/1.305, allocations: 344.2 kB / 1.372 GB, free: 1.434 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.316, allocations: 7.392 MB / 1.379 GB, free: 9.988 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0004709/1.317, allocations: 69.7 kB / 1.379 GB, free: 9.914 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001008/1.318, allocations: 0.8051 MB / 1.38 GB, free: 9.105 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/1.318, allocations: 404.5 kB / 1.38 GB, free: 8.707 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002016/1.32, allocations: 1.923 MB / 1.382 GB, free: 6.77 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.321, allocations: 301.1 kB / 1.382 GB, free: 6.473 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01408/1.335, allocations: 12.99 MB / 1.395 GB, free: 9.48 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01577/1.35, allocations: 13.7 MB / 1.408 GB, free: 11.6 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01982/1.37, allocations: 17.11 MB / 1.425 GB, free: 10.21 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.752e-05/1.37, allocations: 4 kB / 1.425 GB, free: 10.21 MB / 1.154 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03642/1.407, allocations: 31.28 MB / 1.456 GB, free: 10.73 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003008/1.407, allocations: 177.6 kB / 1.456 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.843e-05/1.407, allocations: 15.94 kB / 1.456 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.84e-05/1.407, allocations: 24 kB / 1.456 GB, free: 10.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.409, allocations: 479.2 kB / 1.456 GB, free: 10.05 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.45e-05/1.409, allocations: 27.94 kB / 1.456 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/1.411, allocations: 294 kB / 1.457 GB, free: 9.73 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/1.411, allocations: 104 kB / 1.457 GB, free: 9.629 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (290): * Single equations (assignments): 276 * Array equations: 13 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00171/1.413, allocations: 1.235 MB / 1.458 GB, free: 8.379 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/1.414, allocations: 186.7 kB / 1.458 GB, free: 8.195 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/1.418, allocations: 2.757 MB / 1.461 GB, free: 5.426 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.418, allocations: 8 kB / 1.461 GB, free: 5.418 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.418, allocations: 4 kB / 1.461 GB, free: 5.414 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/1.418, allocations: 7.969 kB / 1.461 GB, free: 5.406 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002305/1.42, allocations: 1.473 MB / 1.462 GB, free: 3.875 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.42, allocations: 0 / 1.462 GB, free: 3.875 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/1.421, allocations: 159.8 kB / 1.462 GB, free: 3.719 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/1.421, allocations: 4 kB / 1.462 GB, free: 3.715 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.944e-05/1.421, allocations: 39.97 kB / 1.462 GB, free: 3.676 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.516e-06/1.421, allocations: 3.938 kB / 1.462 GB, free: 3.672 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/1.421, allocations: 4 kB / 1.462 GB, free: 3.668 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/1.425, allocations: 2.645 MB / 1.465 GB, free: 0.9961 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007695/1.426, allocations: 443.3 kB / 1.465 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/1.426, allocations: 24 kB / 1.465 GB, free: 0.5195 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008139/1.427, allocations: 79.92 kB / 1.466 GB, free: 452 kB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/1.427, allocations: 80.88 kB / 1.466 GB, free: 368 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.428, allocations: 51.97 kB / 1.466 GB, free: 316 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.005029/1.433, allocations: 4.644 MB / 1.47 GB, free: 11.64 MB / 1.201 GB Notification: Performance of sort global known variables: time 2.51e-07/1.433, allocations: 0 / 1.47 GB, free: 11.64 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.003763/1.436, allocations: 1.228 MB / 1.471 GB, free: 10.41 MB / 1.201 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 (HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00335/1.44, allocations: 0.9781 MB / 1.472 GB, free: 9.59 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.02053/1.46, allocations: 18.97 MB / 1.491 GB, free: 6.609 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/1.46, allocations: 384 / 1.491 GB, free: 6.609 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.002865/1.463, allocations: 2.247 MB / 1.493 GB, free: 4.348 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.465, allocations: 372.8 kB / 1.493 GB, free: 3.996 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.479, allocations: 8.628 MB / 1.502 GB, free: 11.34 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00307/1.482, allocations: 2.36 MB / 1.504 GB, free: 8.945 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00176/1.483, allocations: 440.9 kB / 1.505 GB, free: 8.508 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/1.484, allocations: 163.4 kB / 1.505 GB, free: 8.348 MB / 1.232 GB Notification: Performance of SimCode: time 1.543e-06/1.484, allocations: 0 / 1.505 GB, free: 8.348 MB / 1.232 GB Notification: Performance of Templates: time 0.09521/1.579, allocations: 36.84 MB / 1.541 GB, free: 3.633 MB / 1.264 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches