Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.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: "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation,fileNamePrefix="Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004152/0.004153, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.001234/0.001234, allocations: 194.2 kB / 16.68 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.727/2.727, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 63.89 kB / 1.065 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.6566, allocations: 159.1 MB / 1.22 GB, free: 2.074 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation): time 0.008915/0.6656, allocations: 6.966 MB / 1.227 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1755/0.8411, allocations: 155.4 MB / 1.379 GB, free: 15.12 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.8422, allocations: 27.88 kB / 1.379 GB, free: 15.09 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004568/0.8468, allocations: 1.806 MB / 1.38 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.8494, allocations: 0.8989 MB / 1.381 GB, free: 12.38 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.8518, allocations: 0.9823 MB / 1.382 GB, free: 11.41 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.00316/0.855, allocations: 2.59 MB / 1.385 GB, free: 8.809 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.8564, allocations: 0.9415 MB / 1.386 GB, free: 7.816 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.8578, allocations: 0.8995 MB / 1.387 GB, free: 6.914 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.8592, allocations: 0.9298 MB / 1.388 GB, free: 5.98 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000361/0.8596, allocations: 184 kB / 1.388 GB, free: 5.801 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003539/0.8631, allocations: 2.263 MB / 1.39 GB, free: 3.535 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001188/0.8643, allocations: 1.212 MB / 1.391 GB, free: 2.32 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001644/0.866, allocations: 1.427 MB / 1.393 GB, free: 0.8867 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.006121/0.8721, allocations: 5.467 MB / 1.398 GB, free: 11.4 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.8721, allocations: 4 kB / 1.398 GB, free: 11.4 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8721, allocations: 0 / 1.398 GB, free: 11.4 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.289e-05/0.8722, allocations: 0 / 1.398 GB, free: 11.4 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.006791/0.879, allocations: 4.072 MB / 1.402 GB, free: 7.25 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.879, allocations: 12.03 kB / 1.402 GB, free: 7.238 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002428/0.8793, allocations: 190.3 kB / 1.402 GB, free: 7.043 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/0.8806, allocations: 366.9 kB / 1.402 GB, free: 6.684 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09406/0.9747, allocations: 87.68 MB / 1.488 GB, free: 14.9 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.9748, allocations: 102.5 kB / 1.488 GB, free: 14.8 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.9751, allocations: 132 kB / 1.488 GB, free: 14.67 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/0.9777, allocations: 1.36 MB / 1.49 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.043e-05/0.9778, allocations: 0 / 1.49 GB, free: 13.25 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.9779, allocations: 55.94 kB / 1.49 GB, free: 13.2 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.471e-05/0.978, allocations: 39.98 kB / 1.49 GB, free: 13.16 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/0.9806, allocations: 1.493 MB / 1.491 GB, free: 11.66 MB / 1.217 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.02346/1.004, allocations: 23.89 MB / 1.514 GB, free: 3.574 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002253/1.006, allocations: 1.108 MB / 1.516 GB, free: 2.457 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008067/1.007, allocations: 451.6 kB / 1.516 GB, free: 2.016 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 9.014e-05/1.007, allocations: 29.11 kB / 1.516 GB, free: 1.984 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001184/1.008, allocations: 0.6567 MB / 1.517 GB, free: 1.309 MB / 1.232 GB Notification: Performance of pre-optimization done (n=100): time 2.595e-06/1.009, allocations: 4 kB / 1.517 GB, free: 1.305 MB / 1.232 GB Notification: Performance of matching and sorting (n=100): time 0.004646/1.013, allocations: 1.754 MB / 1.518 GB, free: 15.52 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.013, allocations: 192.9 kB / 1.519 GB, free: 15.29 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6088/1.622, allocations: 99.42 MB / 1.616 GB, free: 303.5 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000213/1.622, allocations: 46.45 kB / 1.616 GB, free: 303.4 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007653/1.623, allocations: 1.067 MB / 1.617 GB, free: 302.6 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/1.623, allocations: 349.9 kB / 1.617 GB, free: 302.4 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000318/1.624, allocations: 240.6 kB / 1.617 GB, free: 302.2 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 6.187e-05/1.624, allocations: 351.8 kB / 1.618 GB, free: 301.9 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007765/1.625, allocations: 490.6 kB / 1.618 GB, free: 301.5 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008374/1.625, allocations: 0.6297 MB / 1.619 GB, free: 300.9 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/1.627, allocations: 1.007 MB / 1.62 GB, free: 300 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.627, allocations: 0 / 1.62 GB, free: 300 MB / 1.279 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002781/1.63, allocations: 1.514 MB / 1.621 GB, free: 298.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/1.63, allocations: 7.703 kB / 1.621 GB, free: 298.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/1.63, allocations: 4 kB / 1.621 GB, free: 298.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/1.63, allocations: 83.53 kB / 1.621 GB, free: 298.5 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000874/1.631, allocations: 242.6 kB / 1.621 GB, free: 298.3 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/1.633, allocations: 1.629 MB / 1.623 GB, free: 296.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.634, allocations: 272 kB / 1.623 GB, free: 296.4 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.48e-05/1.634, allocations: 55.17 kB / 1.623 GB, free: 296.4 MB / 1.279 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 18 (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 (138): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * 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.0007347/1.635, allocations: 0.8113 MB / 1.624 GB, free: 295.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004139/1.635, allocations: 234.4 kB / 1.624 GB, free: 295.4 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/1.638, allocations: 1.622 MB / 1.626 GB, free: 294.1 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/1.638, allocations: 12 kB / 1.626 GB, free: 294 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/1.638, allocations: 3.906 kB / 1.626 GB, free: 294 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/1.638, allocations: 7.875 kB / 1.626 GB, free: 294 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/1.64, allocations: 1.963 MB / 1.628 GB, free: 292.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.64, allocations: 4 kB / 1.628 GB, free: 292.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007033/1.64, allocations: 187.7 kB / 1.628 GB, free: 292 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/1.641, allocations: 72.62 kB / 1.628 GB, free: 291.9 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/1.641, allocations: 31.98 kB / 1.628 GB, free: 291.9 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/1.642, allocations: 1.654 MB / 1.63 GB, free: 290.1 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.642, allocations: 0 / 1.63 GB, free: 290.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002299/1.645, allocations: 1.373 MB / 1.631 GB, free: 288.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007709/1.645, allocations: 0.7725 MB / 1.632 GB, free: 287.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003241/1.646, allocations: 35.88 kB / 1.632 GB, free: 287.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.647, allocations: 181.8 kB / 1.632 GB, free: 287.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/1.647, allocations: 92.62 kB / 1.632 GB, free: 287.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.338e-05/1.647, allocations: 43.97 kB / 1.632 GB, free: 287.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.04806/1.695, allocations: 79.4 MB / 1.71 GB, free: 208.1 MB / 1.279 GB Notification: Performance of sort global known variables: time 9.92e-07/1.695, allocations: 0 / 1.71 GB, free: 208.1 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001918/1.697, allocations: 1.028 MB / 1.711 GB, free: 207.2 MB / 1.279 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 (115): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * 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.005419/1.702, allocations: 2.793 MB / 1.713 GB, free: 204.8 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.001955/1.704, allocations: 1.247 MB / 1.715 GB, free: 203.5 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.704, allocations: 4 kB / 1.715 GB, free: 203.5 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009736/1.705, allocations: 0.6722 MB / 1.715 GB, free: 202.8 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/1.707, allocations: 430.1 kB / 1.716 GB, free: 202.4 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3385/2.046, allocations: 407.1 MB / 2.113 GB, free: 3.105 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001716/2.047, allocations: 1.721 MB / 2.115 GB, free: 1.359 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.002123/2.05, allocations: 0.7841 MB / 2.116 GB, free: 0.5703 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/2.052, allocations: 1.103 MB / 2.117 GB, free: 15.5 MB / 1.498 GB Notification: Performance of SimCode: time 6.61e-07/2.052, allocations: 0 / 2.117 GB, free: 15.5 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6953/2.747, allocations: 108.4 MB / 2.223 GB, free: 488.2 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/18.43, allocations: 0 / 2.223 GB, free: 488.2 MB / 1.498 GB (rm -f Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.csv --start-time 0 --stop-time 864000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 Buildings_11_Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.fmu > Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Windows_BaseClasses_Examples_TransmittedRadiation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Windows.BaseClasses.Examples.TransmittedRadiation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches