Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001384/0.001384, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001438/0.001438, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.288/1.288, allocations: 225.6 MB / 249.3 MB, free: 3.207 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.378/2.378, allocations: 443.5 MB / 0.7304 GB, free: 14 MB / 0.5763 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.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 71.83 kB / 1.059 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.252, allocations: 160.7 MB / 1.216 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002809/0.2548, allocations: 1.925 MB / 1.217 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003695/0.2585, allocations: 3.502 MB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.2586, allocations: 0 / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.2588, allocations: 51.62 kB / 1.221 GB, free: 10.45 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003835/0.2592, allocations: 131.3 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.798e-05/0.2593, allocations: 27.95 kB / 1.221 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.2595, allocations: 163.2 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.2596, allocations: 21.61 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.2597, allocations: 83.69 kB / 1.221 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.2598, allocations: 83.56 kB / 1.221 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.2599, allocations: 8 kB / 1.221 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.144e-05/0.2599, allocations: 35.97 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.26, allocations: 35.84 kB / 1.221 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.632e-05/0.2601, allocations: 83.47 kB / 1.222 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.2603, allocations: 159.2 kB / 1.222 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2603, allocations: 0 / 1.222 GB, free: 9.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2603, allocations: 7.938 kB / 1.222 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2603, allocations: 0 / 1.222 GB, free: 9.617 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.0007864/0.2611, allocations: 0.5022 MB / 1.222 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2611, allocations: 8.031 kB / 1.222 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.2612, allocations: 38.75 kB / 1.222 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.2612, allocations: 20.8 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.2615, allocations: 250.9 kB / 1.222 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.2615, allocations: 8.375 kB / 1.222 GB, free: 8.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.2616, allocations: 8.359 kB / 1.223 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.2619, allocations: 133.5 kB / 1.223 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2619, allocations: 0 / 1.223 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2619, allocations: 4 kB / 1.223 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.2619, allocations: 15.91 kB / 1.223 GB, free: 8.535 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.2623, allocations: 141.5 kB / 1.223 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006389/0.263, allocations: 436.6 kB / 1.223 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.2634, allocations: 158.5 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002455/0.2636, allocations: 96.73 kB / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.2636, allocations: 0 / 1.223 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/0.2637, allocations: 30.56 kB / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 9.32e-07/0.2637, allocations: 4 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0007777/0.2644, allocations: 293.2 kB / 1.224 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.2645, allocations: 51.41 kB / 1.224 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.2647, allocations: 213 kB / 1.224 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2647, allocations: 25.7 kB / 1.224 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.2647, allocations: 128 kB / 1.224 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.2648, allocations: 47.64 kB / 1.224 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.2649, allocations: 25.7 kB / 1.224 GB, free: 6.812 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.265, allocations: 330.8 kB / 1.225 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002262/0.2652, allocations: 79.88 kB / 1.225 GB, free: 6.402 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.2654, allocations: 71.92 kB / 1.225 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.2658, allocations: 152.8 kB / 1.225 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2658, allocations: 4 kB / 1.225 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004986/0.2663, allocations: 205.5 kB / 1.225 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2663, allocations: 8 kB / 1.225 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.2663, allocations: 0 / 1.225 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2664, allocations: 0 / 1.225 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002297/0.2666, allocations: 39.91 kB / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2666, allocations: 0 / 1.225 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.2667, allocations: 15.94 kB / 1.225 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.2668, allocations: 15.92 kB / 1.225 GB, free: 5.891 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.0001031/0.2669, allocations: 121.8 kB / 1.225 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.2669, allocations: 19.86 kB / 1.225 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.48e-05/0.267, allocations: 33.77 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.267, allocations: 0 / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.267, allocations: 4 kB / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.267, allocations: 0 / 1.225 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.2672, allocations: 265.4 kB / 1.226 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2672, allocations: 0 / 1.226 GB, free: 5.395 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.2674, allocations: 35.91 kB / 1.226 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2675, allocations: 3.984 kB / 1.226 GB, free: 5.355 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.2675, allocations: 4 kB / 1.226 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-06/0.2675, allocations: 0 / 1.226 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.2675, allocations: 0 / 1.226 GB, free: 5.352 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005405/0.268, allocations: 315 kB / 1.226 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/0.2681, allocations: 109 kB / 1.226 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.46e-05/0.2681, allocations: 0 / 1.226 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.2683, allocations: 19.92 kB / 1.226 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.2684, allocations: 19.97 kB / 1.226 GB, free: 4.867 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.2684, allocations: 8 kB / 1.226 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001291/0.2685, allocations: 160.4 kB / 1.226 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.2685, allocations: 0 / 1.226 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002572/0.2688, allocations: 39.89 kB / 1.226 GB, free: 4.664 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.0008594/0.2696, allocations: 0.8411 MB / 1.227 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004909/0.2701, allocations: 167.8 kB / 1.227 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2701, allocations: 0 / 1.227 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.2703, allocations: 87.86 kB / 1.227 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.2707, allocations: 24.66 kB / 1.227 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003034/0.2737, allocations: 2.258 MB / 1.23 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.274, allocations: 0.7352 MB / 1.23 GB, free: 440 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001454/0.2742, allocations: 52.58 kB / 1.23 GB, free: 384 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.499e-05/0.2743, allocations: 47.42 kB / 1.23 GB, free: 336 kB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.2743, allocations: 0 / 1.23 GB, free: 336 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.3009, allocations: 3.745 MB / 1.234 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/7.593, allocations: 6.75 kB / 1.234 GB, free: 12.68 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T1.y from file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T2.y in file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T2.y from file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! Error: Could not read variable T3.y in file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv. Warning: Get data of variable T3.y from file Buildings_10_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.806643625001016]