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.001523/0.001523, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.00169/0.00169, allocations: 216.6 kB / 22.25 MB, free: 5.078 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.337/1.337, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 179] 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 2.972/2.972, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.001863/0.001863, allocations: 65.88 kB / 1.177 GB, free: 17.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2823, allocations: 180.2 MB / 1.353 GB, free: 8.461 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003181/0.2855, allocations: 1.937 MB / 1.355 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004431/0.2899, allocations: 3.749 MB / 1.358 GB, free: 2.754 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.29, allocations: 3.938 kB / 1.358 GB, free: 2.75 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.2907, allocations: 203 kB / 1.359 GB, free: 2.551 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.2909, allocations: 83.47 kB / 1.359 GB, free: 2.469 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001274/0.291, allocations: 51.92 kB / 1.359 GB, free: 2.418 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0004506/0.2915, allocations: 279.1 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.215e-05/0.2915, allocations: 21.72 kB / 1.359 GB, free: 2.121 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.2916, allocations: 87.7 kB / 1.359 GB, free: 2.035 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.2918, allocations: 83.61 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.2918, allocations: 8 kB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.843e-05/0.2919, allocations: 31.91 kB / 1.359 GB, free: 1.914 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.811e-05/0.2919, allocations: 55.83 kB / 1.359 GB, free: 1.859 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 8.309e-05/0.292, allocations: 91.41 kB / 1.359 GB, free: 1.77 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002372/0.2923, allocations: 199 kB / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2923, allocations: 0 / 1.36 GB, free: 1.574 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.42e-07/0.2923, allocations: 3.938 kB / 1.36 GB, free: 1.57 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2923, allocations: 0 / 1.36 GB, free: 1.57 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.0007655/0.293, allocations: 488.7 kB / 1.36 GB, free: 1.062 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.054e-05/0.2931, allocations: 12.03 kB / 1.36 GB, free: 1.051 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.2931, allocations: 38.72 kB / 1.36 GB, free: 1.004 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008183/0.2939, allocations: 128.6 kB / 1.36 GB, free: 0.8789 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.2944, allocations: 198.7 kB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.2944, allocations: 4.375 kB / 1.36 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2944, allocations: 4.375 kB / 1.36 GB, free: 0.6523 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.2948, allocations: 167.3 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2948, allocations: 0 / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2948, allocations: 4 kB / 1.361 GB, free: 492 kB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.2948, allocations: 11.98 kB / 1.361 GB, free: 480 kB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.2952, allocations: 151.9 kB / 1.361 GB, free: 328 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006925/0.2959, allocations: 447.5 kB / 1.361 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.2963, allocations: 178.4 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.2966, allocations: 112.7 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.2966, allocations: 8.25 kB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2966, allocations: 30.56 kB / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.2967, allocations: 0 / 1.361 GB, free: 15.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008182/0.2975, allocations: 324.2 kB / 1.362 GB, free: 15.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.2975, allocations: 59.34 kB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.2977, allocations: 256.2 kB / 1.362 GB, free: 14.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2978, allocations: 29.7 kB / 1.362 GB, free: 14.81 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.2979, allocations: 128.1 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.2979, allocations: 51.64 kB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.156e-05/0.298, allocations: 33.64 kB / 1.362 GB, free: 14.59 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2981, allocations: 342.8 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002289/0.2983, allocations: 75.94 kB / 1.363 GB, free: 14.17 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.2985, allocations: 83.92 kB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004647/0.299, allocations: 180.7 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.299, allocations: 0 / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005333/0.2995, allocations: 240 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2996, allocations: 7.938 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.085e-06/0.2996, allocations: 0 / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2996, allocations: 4 kB / 1.363 GB, free: 13.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002747/0.2998, allocations: 31.97 kB / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.2999, allocations: 0 / 1.363 GB, free: 13.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.3, allocations: 23.91 kB / 1.363 GB, free: 13.61 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.3, allocations: 11.94 kB / 1.363 GB, free: 13.59 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.000129/0.3002, allocations: 145.7 kB / 1.363 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.3002, allocations: 23.81 kB / 1.363 GB, free: 13.42 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.686e-05/0.3003, allocations: 33.8 kB / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3003, allocations: 4 kB / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3003, allocations: 0 / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3003, allocations: 3.984 kB / 1.363 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.3006, allocations: 256.5 kB / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3006, allocations: 0 / 1.364 GB, free: 13.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002512/0.3008, allocations: 35.97 kB / 1.364 GB, free: 13.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3008, allocations: 7.938 kB / 1.364 GB, free: 13.04 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.819e-05/0.3009, allocations: 7.984 kB / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3009, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.3009, allocations: 0 / 1.364 GB, free: 13.03 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.3015, allocations: 347.1 kB / 1.364 GB, free: 12.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-05/0.3015, allocations: 39.78 kB / 1.364 GB, free: 12.64 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.155e-05/0.3016, allocations: 7.922 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.3018, allocations: 19.92 kB / 1.364 GB, free: 12.61 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.3018, allocations: 7.984 kB / 1.364 GB, free: 12.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.3019, allocations: 7.984 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001564/0.302, allocations: 195 kB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.302, allocations: 0 / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002579/0.3023, allocations: 36 kB / 1.364 GB, free: 12.37 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.0008853/0.3032, allocations: 0.8645 MB / 1.365 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005056/0.3037, allocations: 186 kB / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.3037, allocations: 0 / 1.365 GB, free: 11.3 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.3039, allocations: 103.9 kB / 1.365 GB, free: 11.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003747/0.3043, allocations: 48.94 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.3075, allocations: 2.48 MB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.3079, allocations: 0.7475 MB / 1.369 GB, free: 7.812 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000196/0.3081, allocations: 61.38 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.3082, allocations: 63.41 kB / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3082, allocations: 0 / 1.369 GB, free: 7.688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3377, allocations: 5.248 MB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.885/10.22, allocations: 10.62 kB / 1.374 GB, free: 2.609 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.264646872999947]