Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.005619/0.005619, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001181/0.001181, allocations: 192.3 kB / 16.67 MB, free: 5.969 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.361/1.361, 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 12.0.0-master/package.mo): time 2.659/2.659, allocations: 472.6 MB / 0.7453 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.91 kB / 1.069 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.8967, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic): time 0.008632/0.9054, allocations: 7.286 MB / 1.233 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1886/1.094, allocations: 155.5 MB / 1.385 GB, free: 10.13 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0018/1.096, allocations: 23.88 kB / 1.385 GB, free: 10.11 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005224/1.101, allocations: 1.822 MB / 1.386 GB, free: 8.281 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.003158/1.104, allocations: 0.831 MB / 1.387 GB, free: 7.449 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/1.107, allocations: 1.042 MB / 1.388 GB, free: 6.414 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003827/1.111, allocations: 3.567 MB / 1.392 GB, free: 2.84 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001264/1.112, allocations: 0.9211 MB / 1.393 GB, free: 1.863 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/1.114, allocations: 1.161 MB / 1.394 GB, free: 0.6992 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/1.115, allocations: 1.055 MB / 1.395 GB, free: 15.64 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002662/1.115, allocations: 192 kB / 1.395 GB, free: 15.45 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/1.119, allocations: 2.243 MB / 1.397 GB, free: 13.21 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001461/1.121, allocations: 1.915 MB / 1.399 GB, free: 11.29 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/1.122, allocations: 1.174 MB / 1.4 GB, free: 10.11 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007433/1.129, allocations: 4.442 MB / 1.405 GB, free: 5.652 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.129, allocations: 4 kB / 1.405 GB, free: 5.648 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.134e-06/1.129, allocations: 0 / 1.405 GB, free: 5.648 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.557e-05/1.129, allocations: 0 / 1.405 GB, free: 5.648 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.005443/1.135, allocations: 3.078 MB / 1.408 GB, free: 2.496 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/1.135, allocations: 8.031 kB / 1.408 GB, free: 2.488 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009244/1.136, allocations: 315.2 kB / 1.408 GB, free: 2.18 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004778/1.14, allocations: 4.589 MB / 1.412 GB, free: 13.54 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.141, allocations: 134.4 kB / 1.412 GB, free: 13.41 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/1.141, allocations: 180 kB / 1.413 GB, free: 13.23 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/1.144, allocations: 1.66 MB / 1.414 GB, free: 11.51 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/1.144, allocations: 0 / 1.414 GB, free: 11.51 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/1.144, allocations: 55.98 kB / 1.414 GB, free: 11.46 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/1.144, allocations: 32 kB / 1.414 GB, free: 11.43 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/1.146, allocations: 1.726 MB / 1.416 GB, free: 9.691 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/1.156, allocations: 7.395 MB / 1.423 GB, free: 2.121 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/1.159, allocations: 1.583 MB / 1.425 GB, free: 0.5312 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/1.16, allocations: 1.031 MB / 1.426 GB, free: 15.5 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.759e-05/1.16, allocations: 37.17 kB / 1.426 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/1.161, allocations: 0.985 MB / 1.427 GB, free: 14.46 MB / 1.154 GB Notification: Performance of pre-optimization done (n=118): time 3.036e-06/1.161, allocations: 0 / 1.427 GB, free: 14.46 MB / 1.154 GB Notification: Performance of matching and sorting (n=118): time 0.004318/1.166, allocations: 2.849 MB / 1.43 GB, free: 11.61 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002314/1.166, allocations: 348.2 kB / 1.43 GB, free: 11.21 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00914/1.175, allocations: 7.389 MB / 1.437 GB, free: 3.777 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0004962/1.175, allocations: 69.7 kB / 1.437 GB, free: 3.703 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007796/1.176, allocations: 0.8013 MB / 1.438 GB, free: 2.895 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004083/1.177, allocations: 408.5 kB / 1.438 GB, free: 2.492 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/1.178, allocations: 1.919 MB / 1.44 GB, free: 0.5586 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000101/1.178, allocations: 301.1 kB / 1.441 GB, free: 268 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01157/1.19, allocations: 12.99 MB / 1.453 GB, free: 3.262 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01269/1.203, allocations: 13.7 MB / 1.467 GB, free: 5.387 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01753/1.22, allocations: 17.11 MB / 1.483 GB, free: 4 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-05/1.22, allocations: 4 kB / 1.483 GB, free: 3.996 MB / 1.201 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.03683/1.257, allocations: 31.28 MB / 1.514 GB, free: 4.523 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003455/1.258, allocations: 178.7 kB / 1.514 GB, free: 4.344 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.742e-05/1.258, allocations: 19.97 kB / 1.514 GB, free: 4.324 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.513e-05/1.258, allocations: 27.94 kB / 1.514 GB, free: 4.297 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002423/1.26, allocations: 479.2 kB / 1.514 GB, free: 3.828 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.78e-05/1.26, allocations: 31.92 kB / 1.515 GB, free: 3.797 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/1.263, allocations: 281.8 kB / 1.515 GB, free: 3.523 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002186/1.263, allocations: 112 kB / 1.515 GB, free: 3.414 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.001793/1.265, allocations: 1.247 MB / 1.516 GB, free: 2.152 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004248/1.265, allocations: 186.7 kB / 1.516 GB, free: 1.969 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/1.269, allocations: 2.733 MB / 1.519 GB, free: 15.22 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/1.269, allocations: 15.98 kB / 1.519 GB, free: 15.21 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.269, allocations: 4 kB / 1.519 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.269, allocations: 3.984 kB / 1.519 GB, free: 15.2 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/1.271, allocations: 1.485 MB / 1.52 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.271, allocations: 0 / 1.52 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006532/1.272, allocations: 159.7 kB / 1.521 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.272, allocations: 4 kB / 1.521 GB, free: 13.5 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-05/1.272, allocations: 39.97 kB / 1.521 GB, free: 13.46 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/1.272, allocations: 4 kB / 1.521 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.272, allocations: 0 / 1.521 GB, free: 13.45 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003416/1.275, allocations: 2.641 MB / 1.523 GB, free: 10.79 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/1.276, allocations: 451.3 kB / 1.524 GB, free: 10.32 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/1.276, allocations: 27.98 kB / 1.524 GB, free: 10.3 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/1.277, allocations: 79.92 kB / 1.524 GB, free: 10.22 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/1.277, allocations: 76.89 kB / 1.524 GB, free: 10.14 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/1.277, allocations: 51.97 kB / 1.524 GB, free: 10.09 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004148/1.281, allocations: 4.64 MB / 1.528 GB, free: 5.426 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.6e-07/1.281, allocations: 0 / 1.528 GB, free: 5.426 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003239/1.285, allocations: 1.232 MB / 1.53 GB, free: 4.191 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.002423/1.287, allocations: 0.9659 MB / 1.531 GB, free: 3.395 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01806/1.305, allocations: 18.97 MB / 1.549 GB, free: 416 kB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.305, allocations: 2 kB / 1.549 GB, free: 416 kB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002549/1.308, allocations: 2.243 MB / 1.551 GB, free: 14.14 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.31, allocations: 376.7 kB / 1.552 GB, free: 13.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.321, allocations: 8.612 MB / 1.56 GB, free: 5.152 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002115/1.323, allocations: 2.351 MB / 1.562 GB, free: 2.773 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001554/1.325, allocations: 456.8 kB / 1.563 GB, free: 2.32 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/1.325, allocations: 159.4 kB / 1.563 GB, free: 2.164 MB / 1.279 GB Notification: Performance of SimCode: time 6.42e-07/1.325, allocations: 0 / 1.563 GB, free: 2.164 MB / 1.279 GB Notification: Performance of Templates: time 0.8039/2.129, allocations: 36.64 MB / 1.599 GB, free: 316.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.sim & ./Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Windows_BaseClasses_Examples_AbsorbedRadiationElectrochromic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Windows.BaseClasses.Examples.AbsorbedRadiationElectrochromic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches