Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 110.6 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.552/1.552, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.939/2.939, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 65.61 kB / 1.117 GB, free: 40.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3426, allocations: 169.9 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003761/0.3464, allocations: 1.964 MB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005114/0.3515, allocations: 3.611 MB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.3517, allocations: 3.938 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000299/0.352, allocations: 51.62 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005527/0.3525, allocations: 135.1 kB / 1.289 GB, free: 5.934 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.3527, allocations: 51.92 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.353, allocations: 179.2 kB / 1.289 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3531, allocations: 21.81 kB / 1.289 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.3534, allocations: 87.62 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002042/0.3536, allocations: 83.61 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.3536, allocations: 8 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001171/0.3537, allocations: 39.91 kB / 1.289 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.913e-05/0.3538, allocations: 31.84 kB / 1.289 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.363e-05/0.3539, allocations: 79.48 kB / 1.29 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.3542, allocations: 187.1 kB / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3542, allocations: 0 / 1.29 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3542, allocations: 4 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.3542, allocations: 0 / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009448/0.3552, allocations: 441 kB / 1.29 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3552, allocations: 12.03 kB / 1.29 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.963e-05/0.3553, allocations: 42.67 kB / 1.29 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003819/0.3556, allocations: 60.75 kB / 1.29 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.3561, allocations: 201.1 kB / 1.29 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.3561, allocations: 4.359 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.3561, allocations: 4.375 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.3565, allocations: 143.5 kB / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3565, allocations: 0 / 1.291 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.3565, allocations: 4 kB / 1.291 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/0.3565, allocations: 4 kB / 1.291 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004358/0.357, allocations: 135.9 kB / 1.291 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007726/0.3578, allocations: 423.6 kB / 1.291 GB, free: 3.617 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.3582, allocations: 150.5 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.3584, allocations: 100.8 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3584, allocations: 0 / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.3585, allocations: 34.56 kB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.3585, allocations: 0 / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0008447/0.3593, allocations: 285.6 kB / 1.292 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.3594, allocations: 51.41 kB / 1.292 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.3596, allocations: 221 kB / 1.292 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.3596, allocations: 25.7 kB / 1.292 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.3597, allocations: 128 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.3598, allocations: 47.62 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.3599, allocations: 33.7 kB / 1.292 GB, free: 2.496 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.3601, allocations: 334.8 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.3603, allocations: 67.94 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/0.3605, allocations: 75.31 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004707/0.361, allocations: 164.6 kB / 1.293 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.788e-06/0.361, allocations: 8 kB / 1.293 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005732/0.3616, allocations: 209.4 kB / 1.293 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3616, allocations: 4 kB / 1.293 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.3616, allocations: 3.984 kB / 1.293 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3616, allocations: 4 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/0.3619, allocations: 35.95 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3619, allocations: 0 / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001535/0.362, allocations: 15.92 kB / 1.293 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.3621, allocations: 15.94 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.0001458/0.3622, allocations: 129.8 kB / 1.293 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.3623, allocations: 19.86 kB / 1.293 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.767e-05/0.3623, allocations: 29.77 kB / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3623, allocations: 0 / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3623, allocations: 0 / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3623, allocations: 0 / 1.293 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003419/0.3627, allocations: 236.5 kB / 1.293 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3627, allocations: 0 / 1.293 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.3629, allocations: 39.97 kB / 1.294 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.3629, allocations: 0 / 1.294 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3629, allocations: 7.984 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3629, allocations: 0 / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3629, allocations: 0 / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.3635, allocations: 315.2 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.3636, allocations: 27.89 kB / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.3637, allocations: 0 / 1.294 GB, free: 0.7031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.3639, allocations: 19.97 kB / 1.294 GB, free: 0.6836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.3639, allocations: 7.984 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3639, allocations: 8 kB / 1.294 GB, free: 0.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00016/0.3641, allocations: 160.4 kB / 1.294 GB, free: 0.5117 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3641, allocations: 4 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002965/0.3644, allocations: 39.94 kB / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00108/0.3655, allocations: 0.8519 MB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005389/0.366, allocations: 167.8 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.366, allocations: 0 / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.3663, allocations: 87.88 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3666, allocations: 24.42 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.3704, allocations: 2.297 MB / 1.297 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.3708, allocations: 0.7318 MB / 1.298 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.371, allocations: 49.03 kB / 1.298 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3711, allocations: 55.41 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/0.3711, allocations: 4 kB / 1.298 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03239/0.4035, allocations: 4.041 MB / 1.302 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.84, allocations: 6.734 kB / 1.302 GB, free: 8.199 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.741135796997696]