Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005213/0.005213, allocations: 103 kB / 15.74 MB, free: 6.066 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.001359/0.001359, allocations: 192.6 kB / 16.67 MB, free: 5.973 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.346/1.346, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.647/2.647, allocations: 469.8 MB / 0.7425 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 71.89 kB / 1.065 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9765/0.9778, allocations: 159.1 MB / 1.221 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.009669/0.9874, allocations: 7.291 MB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1842/1.172, allocations: 155.9 MB / 1.38 GB, free: 14.28 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/1.173, allocations: 27.88 kB / 1.38 GB, free: 14.25 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005515/1.179, allocations: 1.832 MB / 1.382 GB, free: 12.41 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003301/1.182, allocations: 0.8628 MB / 1.383 GB, free: 11.55 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/1.185, allocations: 1.04 MB / 1.384 GB, free: 10.52 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.004263/1.189, allocations: 3.54 MB / 1.387 GB, free: 6.969 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/1.19, allocations: 0.6284 MB / 1.388 GB, free: 6.289 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001921/1.192, allocations: 1.177 MB / 1.389 GB, free: 5.109 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/1.194, allocations: 1.043 MB / 1.39 GB, free: 4.062 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002845/1.194, allocations: 196 kB / 1.39 GB, free: 3.871 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003992/1.198, allocations: 2.243 MB / 1.392 GB, free: 1.625 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001673/1.2, allocations: 1.907 MB / 1.394 GB, free: 15.71 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/1.201, allocations: 1.181 MB / 1.395 GB, free: 14.53 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007316/1.208, allocations: 4.453 MB / 1.4 GB, free: 10.06 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/1.208, allocations: 0 / 1.4 GB, free: 10.06 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.735e-06/1.208, allocations: 0 / 1.4 GB, free: 10.06 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.387e-05/1.208, allocations: 0 / 1.4 GB, free: 10.06 MB / 1.123 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.005172/1.214, allocations: 3.078 MB / 1.403 GB, free: 6.906 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/1.214, allocations: 8.625 kB / 1.403 GB, free: 6.898 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000903/1.215, allocations: 315.2 kB / 1.403 GB, free: 6.59 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004756/1.219, allocations: 4.593 MB / 1.407 GB, free: 1.949 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-05/1.219, allocations: 130.4 kB / 1.408 GB, free: 1.82 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/1.22, allocations: 180 kB / 1.408 GB, free: 1.645 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/1.222, allocations: 1.664 MB / 1.409 GB, free: 15.91 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/1.222, allocations: 11.94 kB / 1.409 GB, free: 15.9 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/1.222, allocations: 52 kB / 1.409 GB, free: 15.85 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/1.222, allocations: 28 kB / 1.409 GB, free: 15.82 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/1.225, allocations: 1.73 MB / 1.411 GB, free: 14.09 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/1.235, allocations: 7.383 MB / 1.418 GB, free: 6.535 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002022/1.237, allocations: 1.298 MB / 1.42 GB, free: 5.227 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009616/1.238, allocations: 0.7613 MB / 1.42 GB, free: 4.465 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-05/1.238, allocations: 41.02 kB / 1.42 GB, free: 4.422 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/1.239, allocations: 0.9734 MB / 1.421 GB, free: 3.438 MB / 1.139 GB Notification: Performance of pre-optimization done (n=118): time 2.976e-06/1.239, allocations: 0 / 1.421 GB, free: 3.438 MB / 1.139 GB Notification: Performance of matching and sorting (n=118): time 0.004341/1.244, allocations: 2.856 MB / 1.424 GB, free: 0.5703 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002099/1.244, allocations: 344.2 kB / 1.424 GB, free: 192 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009163/1.253, allocations: 7.385 MB / 1.432 GB, free: 8.754 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004614/1.253, allocations: 77.69 kB / 1.432 GB, free: 8.672 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009421/1.254, allocations: 0.7974 MB / 1.433 GB, free: 7.867 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005512/1.255, allocations: 420.5 kB / 1.433 GB, free: 7.453 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002088/1.257, allocations: 1.903 MB / 1.435 GB, free: 5.535 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.257, allocations: 309.1 kB / 1.435 GB, free: 5.23 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01239/1.27, allocations: 12.99 MB / 1.448 GB, free: 8.238 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01353/1.283, allocations: 13.7 MB / 1.461 GB, free: 10.36 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/1.3, allocations: 17.11 MB / 1.478 GB, free: 8.973 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.54e-05/1.3, allocations: 4 kB / 1.478 GB, free: 8.969 MB / 1.201 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03333/1.334, allocations: 31.28 MB / 1.508 GB, free: 9.484 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.000264/1.334, allocations: 185.6 kB / 1.509 GB, free: 9.297 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-05/1.334, allocations: 12 kB / 1.509 GB, free: 9.285 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.695e-05/1.334, allocations: 20 kB / 1.509 GB, free: 9.266 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/1.336, allocations: 475.2 kB / 1.509 GB, free: 8.801 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.627e-05/1.336, allocations: 27.92 kB / 1.509 GB, free: 8.773 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/1.338, allocations: 288.1 kB / 1.509 GB, free: 8.492 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004713/1.339, allocations: 116 kB / 1.51 GB, free: 8.379 MB / 1.232 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.002059/1.341, allocations: 1.231 MB / 1.511 GB, free: 7.133 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005539/1.341, allocations: 190.7 kB / 1.511 GB, free: 6.945 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/1.346, allocations: 2.768 MB / 1.514 GB, free: 4.156 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/1.346, allocations: 8 kB / 1.514 GB, free: 4.148 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.346, allocations: 0 / 1.514 GB, free: 4.148 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/1.346, allocations: 3.984 kB / 1.514 GB, free: 4.145 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002571/1.348, allocations: 1.489 MB / 1.515 GB, free: 2.598 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/1.348, allocations: 0 / 1.515 GB, free: 2.598 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007217/1.349, allocations: 155.8 kB / 1.515 GB, free: 2.445 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-05/1.349, allocations: 4 kB / 1.515 GB, free: 2.441 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.881e-05/1.349, allocations: 31.98 kB / 1.515 GB, free: 2.41 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/1.349, allocations: 7.984 kB / 1.515 GB, free: 2.402 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.349, allocations: 0 / 1.515 GB, free: 2.402 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/1.353, allocations: 2.672 MB / 1.518 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009227/1.354, allocations: 439.3 kB / 1.518 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004392/1.354, allocations: 28 kB / 1.518 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/1.355, allocations: 75.92 kB / 1.518 GB, free: 15.15 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002071/1.356, allocations: 80.89 kB / 1.518 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.356, allocations: 51.97 kB / 1.519 GB, free: 15.02 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004855/1.361, allocations: 4.644 MB / 1.523 GB, free: 10.36 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.361, allocations: 0 / 1.523 GB, free: 10.36 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003637/1.364, allocations: 1.236 MB / 1.524 GB, free: 9.117 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 (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.003116/1.367, allocations: 0.9727 MB / 1.525 GB, free: 8.312 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01584/1.383, allocations: 14.89 MB / 1.54 GB, free: 9.414 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.383, allocations: 0 / 1.54 GB, free: 9.414 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002106/1.385, allocations: 1.427 MB / 1.541 GB, free: 7.973 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002364/1.388, allocations: 372.8 kB / 1.541 GB, free: 7.621 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/1.403, allocations: 8.631 MB / 1.55 GB, free: 14.95 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003761/1.406, allocations: 2.351 MB / 1.552 GB, free: 12.57 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001882/1.408, allocations: 452.7 kB / 1.553 GB, free: 12.12 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006974/1.409, allocations: 159.4 kB / 1.553 GB, free: 11.96 MB / 1.279 GB Notification: Performance of SimCode: time 1.402e-06/1.409, allocations: 4 kB / 1.553 GB, free: 11.96 MB / 1.279 GB Notification: Performance of Templates: time 0.7662/2.175, allocations: 37.48 MB / 1.589 GB, free: 329.6 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches