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.001256/0.001256, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001249/0.001249, allocations: 165.9 kB / 22.45 MB, free: 2.105 MB / 18.57 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 0.8943/0.8943, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.646/1.646, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.901e-05/2.096e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002454/0.002475, allocations: 1.877 MB / 0.9523 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003173/0.005648, allocations: 3.319 MB / 0.9556 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.005761, allocations: 4 kB / 0.9556 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.005997, allocations: 47.64 kB / 0.9556 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004551/0.006452, allocations: 131.2 kB / 0.9557 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.006625, allocations: 51.86 kB / 0.9558 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.006873, allocations: 187 kB / 0.956 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.006986, allocations: 25.73 kB / 0.956 GB, free: 13.81 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.007207, allocations: 111.8 kB / 0.9561 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.007337, allocations: 71.73 kB / 0.9562 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.007365, allocations: 8 kB / 0.9562 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-05/0.007448, allocations: 31.86 kB / 0.9562 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.007514, allocations: 35.84 kB / 0.9562 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.007568, allocations: 51.84 kB / 0.9563 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.007793, allocations: 175.3 kB / 0.9565 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.007796, allocations: 0 / 0.9565 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.402e-06/0.007797, allocations: 0 / 0.9565 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.007802, allocations: 4 kB / 0.9565 GB, free: 13.33 MB / 0.9167 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.0005952/0.008398, allocations: 445 kB / 0.9569 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.008439, allocations: 16.02 kB / 0.9569 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.215e-05/0.008471, allocations: 34.75 kB / 0.9569 GB, free: 12.81 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.008674, allocations: 56.75 kB / 0.957 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.008995, allocations: 204.8 kB / 0.9572 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.009005, allocations: 384 / 0.9572 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.00902, allocations: 4.375 kB / 0.9572 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.009247, allocations: 140.5 kB / 0.9573 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.009255, allocations: 192 / 0.9573 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.009268, allocations: 7.938 kB / 0.9573 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.009289, allocations: 8 kB / 0.9573 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002296/0.009518, allocations: 143.8 kB / 0.9575 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.009985, allocations: 391.7 kB / 0.9579 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.01022, allocations: 156.5 kB / 0.958 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.01035, allocations: 92.78 kB / 0.9581 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.01036, allocations: 7.938 kB / 0.9581 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.01038, allocations: 34.56 kB / 0.9581 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.01038, allocations: 0 / 0.9581 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13): time 0.0004678/0.01085, allocations: 277.6 kB / 0.9584 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.01088, allocations: 59.41 kB / 0.9585 GB, free: 11.15 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.01103, allocations: 217.8 kB / 0.9587 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.01104, allocations: 25.7 kB / 0.9587 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 6.285e-05/0.0111, allocations: 128 kB / 0.9588 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.01113, allocations: 39.66 kB / 0.9588 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.01117, allocations: 37.66 kB / 0.9589 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.01126, allocations: 334.8 kB / 0.9592 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.01138, allocations: 71.94 kB / 0.9593 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.01149, allocations: 70.62 kB / 0.9593 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.01172, allocations: 168.7 kB / 0.9595 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.01173, allocations: 0 / 0.9595 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002772/0.012, allocations: 201.5 kB / 0.9597 GB, free: 9.844 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01202, allocations: 8 kB / 0.9597 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.01202, allocations: 0 / 0.9597 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.01204, allocations: 0 / 0.9597 GB, free: 9.836 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.01217, allocations: 43.89 kB / 0.9597 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.01217, allocations: 0 / 0.9597 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.713e-05/0.01224, allocations: 19.88 kB / 0.9598 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.01225, allocations: 4 kB / 0.9598 GB, free: 9.77 MB / 0.9167 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.708e-05/0.01233, allocations: 133.8 kB / 0.9599 GB, free: 9.629 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.01235, allocations: 23.86 kB / 0.9599 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.053e-05/0.01239, allocations: 33.75 kB / 0.9599 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01239, allocations: 0 / 0.9599 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.0124, allocations: 7.938 kB / 0.9599 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.0124, allocations: 0 / 0.9599 GB, free: 9.562 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.01257, allocations: 208.6 kB / 0.9601 GB, free: 9.316 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.01257, allocations: 4 kB / 0.9602 GB, free: 9.312 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.01266, allocations: 39.89 kB / 0.9602 GB, free: 9.273 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01267, allocations: 7.938 kB / 0.9602 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.01268, allocations: 0 / 0.9602 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01268, allocations: 0 / 0.9602 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01268, allocations: 0 / 0.9602 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.01299, allocations: 316 kB / 0.9605 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.982e-05/0.01304, allocations: 35.77 kB / 0.9605 GB, free: 8.906 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.907e-05/0.01306, allocations: 12 kB / 0.9605 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.01314, allocations: 11.98 kB / 0.9606 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/0.01319, allocations: 15.97 kB / 0.9606 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.01319, allocations: 0 / 0.9606 GB, free: 8.867 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 8.762e-05/0.01328, allocations: 161.2 kB / 0.9607 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01328, allocations: 0 / 0.9607 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001854/0.01347, allocations: 36 kB / 0.9608 GB, free: 8.676 MB / 0.9167 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.0005489/0.01401, allocations: 0.8524 MB / 0.9616 GB, free: 7.801 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002786/0.01429, allocations: 163.8 kB / 0.9617 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.01429, allocations: 0 / 0.9617 GB, free: 7.641 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.01442, allocations: 91.86 kB / 0.9618 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.01467, allocations: 20.48 kB / 0.9619 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001924/0.01659, allocations: 2.279 MB / 0.9641 GB, free: 5.168 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.009e-05/0.01667, allocations: 120.1 kB / 0.9642 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.01678, allocations: 53.08 kB / 0.9642 GB, free: 4.98 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.01686, allocations: 56.48 kB / 0.9643 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of SimCode: time 8.52e-07/0.01686, allocations: 0 / 0.9643 GB, free: 4.926 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.03462, allocations: 4.619 MB / 0.9688 GB, free: 492 kB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.044, allocations: 5.609 kB / 0.9688 GB, free: 492 kB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.155787321738899]