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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.49/2.49, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] 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.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: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 67.88 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.744/0.7459, allocations: 168.7 MB / 1.271 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002562/0.7484, allocations: 1.935 MB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002993/0.7514, allocations: 3.491 MB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.7515, allocations: 0.875 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002281/0.7517, allocations: 59.94 kB / 1.277 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.7521, allocations: 129 kB / 1.277 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.414e-05/0.7522, allocations: 27.78 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00019/0.7524, allocations: 169.7 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.617e-05/0.7525, allocations: 20.52 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.7526, allocations: 81.38 kB / 1.277 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.7528, allocations: 84 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.7528, allocations: 12.62 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.584e-05/0.7529, allocations: 29.53 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.7529, allocations: 41.67 kB / 1.277 GB, free: 3.52 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.595e-05/0.753, allocations: 75.8 kB / 1.277 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.7532, allocations: 164.1 kB / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.7532, allocations: 0 / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7532, allocations: 1.188 kB / 1.278 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.387e-06/0.7532, allocations: 3.938 kB / 1.278 GB, free: 3.398 MB / 0.9981 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.0007074/0.7539, allocations: 0.5035 MB / 1.278 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.754, allocations: 9.781 kB / 1.278 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/0.754, allocations: 40.92 kB / 1.278 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.7541, allocations: 17.97 kB / 1.278 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.7543, allocations: 245.9 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.7543, allocations: 6.5 kB / 1.278 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.7544, allocations: 3.969 kB / 1.278 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003203/0.7547, allocations: 155.2 kB / 1.278 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.7547, allocations: 0.75 kB / 1.278 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.7547, allocations: 4.781 kB / 1.278 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.7547, allocations: 10.92 kB / 1.279 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.7551, allocations: 139.7 kB / 1.279 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.7557, allocations: 432.7 kB / 1.279 GB, free: 2.203 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003738/0.7561, allocations: 159.5 kB / 1.279 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002346/0.7563, allocations: 98.5 kB / 1.279 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.7563, allocations: 5.297 kB / 1.279 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.7563, allocations: 36.28 kB / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.7563, allocations: 0 / 1.279 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13): time 0.0007563/0.7571, allocations: 277.6 kB / 1.28 GB, free: 1.965 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.7571, allocations: 53.41 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.7573, allocations: 210.9 kB / 1.28 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.7573, allocations: 30.52 kB / 1.28 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.7573, allocations: 119.9 kB / 1.28 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.7574, allocations: 48.64 kB / 1.28 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.7574, allocations: 32.28 kB / 1.28 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.7575, allocations: 334 kB / 1.28 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.7577, allocations: 69.73 kB / 1.28 GB, free: 1.223 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002042/0.7579, allocations: 74.44 kB / 1.281 GB, free: 1.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004322/0.7583, allocations: 156.1 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7583, allocations: 0.875 kB / 1.281 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005039/0.7588, allocations: 212.5 kB / 1.281 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.7588, allocations: 8.297 kB / 1.281 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7589, allocations: 0 / 1.281 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.7589, allocations: 1.781 kB / 1.281 GB, free: 1.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.7591, allocations: 36.78 kB / 1.281 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.7591, allocations: 1.25 kB / 1.281 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.7593, allocations: 20.84 kB / 1.281 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.7593, allocations: 8.484 kB / 1.281 GB, free: 1.059 MB / 0.9981 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 7.745e-05/0.7594, allocations: 125.3 kB / 1.281 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.7594, allocations: 20.67 kB / 1.281 GB, free: 0.9258 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.7594, allocations: 25.2 kB / 1.281 GB, free: 0.9062 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.7595, allocations: 9.531 kB / 1.281 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7595, allocations: 5 kB / 1.281 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7595, allocations: 4.797 kB / 1.281 GB, free: 0.8906 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.7597, allocations: 258.3 kB / 1.281 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.7597, allocations: 0 / 1.281 GB, free: 0.6641 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.7599, allocations: 37.53 kB / 1.281 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.7599, allocations: 1.656 kB / 1.281 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.7599, allocations: 6.406 kB / 1.281 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7599, allocations: 0.75 kB / 1.281 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7599, allocations: 0.6094 kB / 1.281 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000509/0.7604, allocations: 311.7 kB / 1.282 GB, free: 480 kB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.7605, allocations: 117.8 kB / 1.282 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.7605, allocations: 1.766 kB / 1.282 GB, free: 360 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.7607, allocations: 16.25 kB / 1.282 GB, free: 356 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.7608, allocations: 12.12 kB / 1.282 GB, free: 352 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.7608, allocations: 4.312 kB / 1.282 GB, free: 352 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001074/0.7609, allocations: 157.2 kB / 1.282 GB, free: 252 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7609, allocations: 0.625 kB / 1.282 GB, free: 252 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000258/0.7611, allocations: 35.22 kB / 1.282 GB, free: 248 kB / 0.9981 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.0008228/0.762, allocations: 0.8474 MB / 1.283 GB, free: 15.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.7624, allocations: 169.7 kB / 1.283 GB, free: 15.49 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7624, allocations: 0 / 1.283 GB, free: 15.49 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.7627, allocations: 86.89 kB / 1.283 GB, free: 15.47 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.763, allocations: 23.28 kB / 1.283 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002942/0.766, allocations: 2.26 MB / 1.285 GB, free: 13.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.7663, allocations: 0.7336 MB / 1.286 GB, free: 13.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001352/0.7664, allocations: 49.53 kB / 1.286 GB, free: 13.2 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.326e-05/0.7665, allocations: 49.94 kB / 1.286 GB, free: 13.16 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.7665, allocations: 0 / 1.286 GB, free: 13.16 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0262/0.7927, allocations: 3.757 MB / 1.29 GB, free: 12.63 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.255/8.048, allocations: 7.031 kB / 1.29 GB, free: 12.62 MB / 1.014 GB " [Timeout remaining time 292] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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] "Error: Could not read variable T1.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.381616216000111]