Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.0012/0.0012, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001428/0.001428, allocations: 217.4 kB / 23.03 MB, free: 4.945 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.355/1.355, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.038/3.038, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="cs",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.001879/0.001879, allocations: 62.19 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3276, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002985/0.3306, allocations: 1.837 MB / 1.347 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004234/0.3348, allocations: 3.468 MB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.744e-05/0.3349, allocations: 0 / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.3357, allocations: 183.1 kB / 1.351 GB, free: 10.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.000195/0.3359, allocations: 75.47 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.336, allocations: 55.92 kB / 1.351 GB, free: 10.29 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.3365, allocations: 283 kB / 1.351 GB, free: 10.01 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.492e-05/0.3366, allocations: 25.72 kB / 1.351 GB, free: 9.98 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.3367, allocations: 79.7 kB / 1.351 GB, free: 9.902 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000141/0.3368, allocations: 83.61 kB / 1.351 GB, free: 9.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.295e-05/0.3369, allocations: 8 kB / 1.351 GB, free: 9.812 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.344e-05/0.337, allocations: 27.98 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.46e-05/0.337, allocations: 55.75 kB / 1.351 GB, free: 9.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.3371, allocations: 71.61 kB / 1.351 GB, free: 9.66 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.3374, allocations: 206.9 kB / 1.352 GB, free: 9.457 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3374, allocations: 4 kB / 1.352 GB, free: 9.453 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.002e-06/0.3374, allocations: 4 kB / 1.352 GB, free: 9.449 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.3374, allocations: 0 / 1.352 GB, free: 9.449 MB / 1.045 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.0008477/0.3382, allocations: 476.7 kB / 1.352 GB, free: 8.953 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3383, allocations: 8.031 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.186e-05/0.3383, allocations: 192 / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.14e-05/0.3383, allocations: 42.73 kB / 1.352 GB, free: 8.895 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009055/0.3392, allocations: 124.6 kB / 1.352 GB, free: 8.773 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.3398, allocations: 206.6 kB / 1.352 GB, free: 8.551 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3398, allocations: 4.375 kB / 1.352 GB, free: 8.547 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.99e-05/0.3398, allocations: 16.12 kB / 1.352 GB, free: 8.531 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.3402, allocations: 145.5 kB / 1.353 GB, free: 8.383 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3402, allocations: 0 / 1.353 GB, free: 8.383 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.278e-05/0.3402, allocations: 11.98 kB / 1.353 GB, free: 8.371 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.3402, allocations: 7.984 kB / 1.353 GB, free: 8.363 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/0.3407, allocations: 155.9 kB / 1.353 GB, free: 8.211 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007254/0.3414, allocations: 431.5 kB / 1.353 GB, free: 7.746 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.3418, allocations: 174.5 kB / 1.353 GB, free: 7.566 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002709/0.3421, allocations: 108.8 kB / 1.353 GB, free: 7.457 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.3421, allocations: 7.984 kB / 1.353 GB, free: 7.449 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.3422, allocations: 30.56 kB / 1.353 GB, free: 7.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.3422, allocations: 0 / 1.353 GB, free: 7.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0008773/0.343, allocations: 327.3 kB / 1.354 GB, free: 7.086 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3431, allocations: 55.41 kB / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.3433, allocations: 256.2 kB / 1.354 GB, free: 6.754 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.3434, allocations: 25.7 kB / 1.354 GB, free: 6.723 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3435, allocations: 132.1 kB / 1.354 GB, free: 6.59 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.3435, allocations: 51.58 kB / 1.354 GB, free: 6.539 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/0.3436, allocations: 37.69 kB / 1.354 GB, free: 6.496 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3438, allocations: 330.8 kB / 1.355 GB, free: 6.164 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.344, allocations: 87.92 kB / 1.355 GB, free: 6.078 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.3442, allocations: 79.92 kB / 1.355 GB, free: 6 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000474/0.3447, allocations: 191.3 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3447, allocations: 4 kB / 1.355 GB, free: 5.809 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006055/0.3453, allocations: 229.4 kB / 1.355 GB, free: 5.578 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3453, allocations: 8 kB / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3453, allocations: 0 / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3453, allocations: 0 / 1.355 GB, free: 5.57 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.3456, allocations: 35.97 kB / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3457, allocations: 0 / 1.355 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.3459, allocations: 27.84 kB / 1.355 GB, free: 5.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.3459, allocations: 0 / 1.355 GB, free: 5.508 MB / 1.045 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.0001341/0.346, allocations: 141.8 kB / 1.355 GB, free: 5.359 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.546e-05/0.3461, allocations: 27.81 kB / 1.355 GB, free: 5.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.017e-05/0.3461, allocations: 33.8 kB / 1.355 GB, free: 5.297 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3461, allocations: 7.938 kB / 1.355 GB, free: 5.289 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3461, allocations: 3.938 kB / 1.355 GB, free: 5.285 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3461, allocations: 7.922 kB / 1.355 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.3464, allocations: 228.7 kB / 1.356 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3464, allocations: 4 kB / 1.356 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.3467, allocations: 35.97 kB / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3467, allocations: 0 / 1.356 GB, free: 4.973 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.3467, allocations: 3.984 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3467, allocations: 4 kB / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3467, allocations: 0 / 1.356 GB, free: 4.965 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.3474, allocations: 347.1 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.469e-05/0.3474, allocations: 43.77 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.3475, allocations: 0 / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3477, allocations: 15.98 kB / 1.356 GB, free: 4.551 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.3478, allocations: 7.984 kB / 1.356 GB, free: 4.543 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.3478, allocations: 15.92 kB / 1.356 GB, free: 4.527 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001601/0.3479, allocations: 183.1 kB / 1.356 GB, free: 4.352 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3479, allocations: 4 kB / 1.356 GB, free: 4.348 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002667/0.3482, allocations: 36 kB / 1.356 GB, free: 4.312 MB / 1.045 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.0009151/0.3491, allocations: 0.8712 MB / 1.357 GB, free: 3.414 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0005204/0.3496, allocations: 183.8 kB / 1.357 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3496, allocations: 0 / 1.357 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002584/0.3499, allocations: 99.91 kB / 1.357 GB, free: 3.137 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.3503, allocations: 61.5 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00336/0.3537, allocations: 2.482 MB / 1.36 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.3538, allocations: 136.1 kB / 1.36 GB, free: 376 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002183/0.354, allocations: 69.36 kB / 1.36 GB, free: 308 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.3542, allocations: 63.41 kB / 1.36 GB, free: 244 kB / 1.045 GB Notification: Performance of SimCode: time 3.31e-07/0.3542, allocations: 4.109 kB / 1.36 GB, free: 240 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.3815, allocations: 5.525 MB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.53, allocations: 14.97 kB / 1.366 GB, free: 10.91 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 17.75897033000365]