Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001405/0.001405, allocations: 112.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.001383/0.001383, 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.358/2.358, allocations: 443.5 MB / 0.7304 GB, free: 13.93 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 67.89 kB / 1.059 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2516, allocations: 160.7 MB / 1.216 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003008/0.2546, allocations: 1.948 MB / 1.217 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003994/0.2586, allocations: 3.502 MB / 1.221 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.2587, allocations: 4 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.2589, allocations: 47.69 kB / 1.221 GB, free: 10.42 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.2593, allocations: 135.2 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.438e-05/0.2594, allocations: 27.95 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000236/0.2596, allocations: 179.2 kB / 1.221 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.2597, allocations: 17.67 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001708/0.2599, allocations: 83.69 kB / 1.221 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001563/0.26, allocations: 87.55 kB / 1.221 GB, free: 9.895 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.2601, allocations: 12 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.575e-05/0.2602, allocations: 31.98 kB / 1.221 GB, free: 9.852 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.2602, allocations: 31.84 kB / 1.221 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.08e-05/0.2603, allocations: 91.39 kB / 1.222 GB, free: 9.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.2605, allocations: 171.1 kB / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2605, allocations: 0 / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.733e-06/0.2605, allocations: 0 / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.2605, allocations: 4 kB / 1.222 GB, free: 9.559 MB / 0.9669 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.0008807/0.2614, allocations: 0.51 MB / 1.222 GB, free: 9 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2615, allocations: 8.031 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.851e-05/0.2615, allocations: 38.75 kB / 1.222 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.2616, allocations: 16.84 kB / 1.222 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.2619, allocations: 251 kB / 1.223 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.2619, allocations: 16.31 kB / 1.223 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.2619, allocations: 384 / 1.223 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.2623, allocations: 141.5 kB / 1.223 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.2623, allocations: 0 / 1.223 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.2623, allocations: 3.984 kB / 1.223 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/0.2624, allocations: 15.89 kB / 1.223 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004359/0.2628, allocations: 151.8 kB / 1.223 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.2635, allocations: 448.5 kB / 1.223 GB, free: 7.828 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.2639, allocations: 166.5 kB / 1.223 GB, free: 7.656 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002518/0.2641, allocations: 100.7 kB / 1.224 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.2642, allocations: 7.984 kB / 1.224 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.2642, allocations: 30.56 kB / 1.224 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2642, allocations: 4 kB / 1.224 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0008289/0.265, allocations: 289.7 kB / 1.224 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2651, allocations: 51.41 kB / 1.224 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.2653, allocations: 217 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.2653, allocations: 25.7 kB / 1.224 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.989e-05/0.2654, allocations: 128.1 kB / 1.224 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/0.2654, allocations: 43.64 kB / 1.224 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.2655, allocations: 29.7 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2656, allocations: 330.8 kB / 1.225 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.2658, allocations: 79.88 kB / 1.225 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.266, allocations: 75.92 kB / 1.225 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.2665, allocations: 160.8 kB / 1.225 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2665, allocations: 4 kB / 1.225 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005168/0.267, allocations: 221.3 kB / 1.225 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.267, allocations: 8 kB / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.267, allocations: 0 / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.267, allocations: 0 / 1.225 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.2673, allocations: 43.89 kB / 1.225 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2673, allocations: 0 / 1.225 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.2674, allocations: 27.8 kB / 1.225 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.2674, allocations: 7.938 kB / 1.225 GB, free: 5.742 MB / 0.9669 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.0001112/0.2676, allocations: 129.8 kB / 1.225 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.2676, allocations: 19.86 kB / 1.225 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.2677, allocations: 25.83 kB / 1.225 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2677, allocations: 8 kB / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2677, allocations: 0 / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.2677, allocations: 0 / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.268, allocations: 265.4 kB / 1.226 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.268, allocations: 0 / 1.226 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.2682, allocations: 43.89 kB / 1.226 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2682, allocations: 0 / 1.226 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.2682, allocations: 4 kB / 1.226 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.2682, allocations: 0 / 1.226 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2682, allocations: 0 / 1.226 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005706/0.2688, allocations: 315.2 kB / 1.226 GB, free: 4.871 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.841e-05/0.2689, allocations: 116.9 kB / 1.226 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.2689, allocations: 0 / 1.226 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.2691, allocations: 23.97 kB / 1.226 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.2691, allocations: 11.98 kB / 1.226 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.2691, allocations: 8 kB / 1.226 GB, free: 4.695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001371/0.2693, allocations: 160.4 kB / 1.226 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2693, allocations: 0 / 1.226 GB, free: 4.539 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002586/0.2695, allocations: 36 kB / 1.226 GB, free: 4.504 MB / 0.9669 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.0008726/0.2704, allocations: 0.8528 MB / 1.227 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.2709, allocations: 175.8 kB / 1.227 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.2709, allocations: 0 / 1.227 GB, free: 3.453 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.2711, allocations: 87.88 kB / 1.227 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.2715, allocations: 28.36 kB / 1.227 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.2746, allocations: 2.314 MB / 1.23 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.2749, allocations: 0.7352 MB / 1.23 GB, free: 192 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001442/0.275, allocations: 56.5 kB / 1.23 GB, free: 132 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.686e-05/0.2751, allocations: 55.41 kB / 1.231 GB, free: 76 kB / 0.9669 GB Notification: Performance of SimCode: time 4.01e-07/0.2751, allocations: 0 / 1.231 GB, free: 76 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.3014, allocations: 3.897 MB / 1.234 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.113/7.414, allocations: 15.31 kB / 1.234 GB, free: 12.28 MB / 0.9825 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.609168533999764]