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.001774/0.001774, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.00223/0.00223, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.388/1.388, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.065/3.065, allocations: 0.505 GB / 0.8066 GB, free: 23.13 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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: 68.62 kB / 1.172 GB, free: 17.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3175, allocations: 180.2 MB / 1.348 GB, free: 10.03 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003207/0.3207, allocations: 1.917 MB / 1.35 GB, free: 8.105 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004572/0.3253, allocations: 3.729 MB / 1.353 GB, free: 4.359 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.488e-05/0.3254, allocations: 3.938 kB / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0007086/0.3261, allocations: 195.3 kB / 1.353 GB, free: 4.164 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.3263, allocations: 75.47 kB / 1.354 GB, free: 4.09 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.3264, allocations: 63.84 kB / 1.354 GB, free: 4.027 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004793/0.3269, allocations: 271.1 kB / 1.354 GB, free: 3.762 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.327, allocations: 17.55 kB / 1.354 GB, free: 3.742 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3271, allocations: 87.69 kB / 1.354 GB, free: 3.656 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.3272, allocations: 91.55 kB / 1.354 GB, free: 3.566 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.3273, allocations: 8 kB / 1.354 GB, free: 3.559 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.299e-05/0.3274, allocations: 27.98 kB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.3274, allocations: 51.81 kB / 1.354 GB, free: 3.48 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.3275, allocations: 95.36 kB / 1.354 GB, free: 3.387 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.3278, allocations: 207 kB / 1.354 GB, free: 3.184 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3278, allocations: 0 / 1.354 GB, free: 3.184 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3278, allocations: 0 / 1.354 GB, free: 3.184 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.3278, allocations: 0 / 1.354 GB, free: 3.184 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.0009341/0.3287, allocations: 0.5448 MB / 1.355 GB, free: 2.59 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3288, allocations: 11.98 kB / 1.355 GB, free: 2.578 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.3288, allocations: 42.72 kB / 1.355 GB, free: 2.527 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/0.3297, allocations: 120.6 kB / 1.355 GB, free: 2.41 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.3302, allocations: 271.7 kB / 1.355 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3302, allocations: 8.375 kB / 1.355 GB, free: 2.098 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.3302, allocations: 384 / 1.355 GB, free: 2.098 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003866/0.3306, allocations: 161.5 kB / 1.356 GB, free: 1.934 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3306, allocations: 0 / 1.356 GB, free: 1.934 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.3307, allocations: 4 kB / 1.356 GB, free: 1.93 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.3307, allocations: 8 kB / 1.356 GB, free: 1.922 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.3312, allocations: 159.8 kB / 1.356 GB, free: 1.766 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.3319, allocations: 480.5 kB / 1.356 GB, free: 1.246 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.3324, allocations: 172.8 kB / 1.356 GB, free: 1.07 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.3327, allocations: 108.8 kB / 1.356 GB, free: 0.9609 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.3327, allocations: 7.984 kB / 1.356 GB, free: 0.9531 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3327, allocations: 38.75 kB / 1.356 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.3327, allocations: 0 / 1.356 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of matching and sorting (n=13): time 0.0009298/0.3336, allocations: 321.3 kB / 1.357 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.3337, allocations: 51.41 kB / 1.357 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.3339, allocations: 259 kB / 1.357 GB, free: 264 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.334, allocations: 33.7 kB / 1.357 GB, free: 224 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.941e-05/0.3341, allocations: 128.1 kB / 1.357 GB, free: 92 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.3341, allocations: 43.64 kB / 1.357 GB, free: 48 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.102e-05/0.3342, allocations: 33.66 kB / 1.357 GB, free: 8 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.3344, allocations: 346.8 kB / 1.358 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.3346, allocations: 79.92 kB / 1.358 GB, free: 15.58 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.3349, allocations: 87.92 kB / 1.358 GB, free: 15.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005095/0.3354, allocations: 186.7 kB / 1.358 GB, free: 15.31 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3354, allocations: 0 / 1.358 GB, free: 15.31 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005953/0.336, allocations: 233.4 kB / 1.358 GB, free: 15.08 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.336, allocations: 8 kB / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.336, allocations: 0 / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.336, allocations: 0 / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.3363, allocations: 39.91 kB / 1.358 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3363, allocations: 3.984 kB / 1.358 GB, free: 15.03 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.3365, allocations: 19.92 kB / 1.358 GB, free: 15.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3365, allocations: 11.92 kB / 1.358 GB, free: 15 MB / 1.061 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.0001259/0.3366, allocations: 137.8 kB / 1.358 GB, free: 14.85 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.3367, allocations: 27.81 kB / 1.358 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.614e-05/0.3368, allocations: 29.86 kB / 1.358 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.3368, allocations: 3.984 kB / 1.358 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3368, allocations: 0 / 1.358 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3368, allocations: 0 / 1.358 GB, free: 14.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003308/0.3371, allocations: 293.4 kB / 1.359 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3371, allocations: 0 / 1.359 GB, free: 14.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002558/0.3374, allocations: 31.97 kB / 1.359 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3374, allocations: 7.938 kB / 1.359 GB, free: 14.41 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3374, allocations: 11.98 kB / 1.359 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3374, allocations: 0 / 1.359 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3374, allocations: 0 / 1.359 GB, free: 14.4 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.3381, allocations: 341.9 kB / 1.359 GB, free: 14.05 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.3382, allocations: 120.9 kB / 1.359 GB, free: 13.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.425e-05/0.3382, allocations: 3.984 kB / 1.359 GB, free: 13.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.3384, allocations: 11.98 kB / 1.359 GB, free: 13.9 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.3385, allocations: 11.98 kB / 1.359 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3385, allocations: 4 kB / 1.359 GB, free: 13.89 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001666/0.3387, allocations: 185.9 kB / 1.359 GB, free: 13.71 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3387, allocations: 4 kB / 1.359 GB, free: 13.7 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000267/0.3389, allocations: 40 kB / 1.359 GB, free: 13.66 MB / 1.061 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.000968/0.3399, allocations: 0.8762 MB / 1.36 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005566/0.3405, allocations: 183.8 kB / 1.361 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.3405, allocations: 0 / 1.361 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002705/0.3407, allocations: 103.9 kB / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.3411, allocations: 51.34 kB / 1.361 GB, free: 12.43 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003472/0.3446, allocations: 2.488 MB / 1.363 GB, free: 9.863 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.345, allocations: 0.7436 MB / 1.364 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002053/0.3452, allocations: 65.38 kB / 1.364 GB, free: 9.027 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.3453, allocations: 63.41 kB / 1.364 GB, free: 8.969 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3453, allocations: 4 kB / 1.364 GB, free: 8.965 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.3755, allocations: 5.088 MB / 1.369 GB, free: 4.047 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.205/8.581, allocations: 11 kB / 1.369 GB, free: 4.039 MB / 1.061 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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.csv","/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] "Error: Could not read variable T1.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.942770946770906]