Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.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.001426/0.001426, allocations: 109 kB / 17.54 MB, free: 4.746 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.001407/0.001407, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.272/1.272, allocations: 225.6 MB / 249.3 MB, free: 3.156 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.309/2.309, allocations: 443.5 MB / 0.7304 GB, free: 13.9 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo,fileNamePrefix="Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 67.91 kB / 1.059 GB, free: 0.9531 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.2534, allocations: 160.7 MB / 1.216 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo): time 0.003053/0.2564, allocations: 1.806 MB / 1.217 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.2579, allocations: 0.9396 MB / 1.218 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.258, allocations: 3.938 kB / 1.218 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.2585, allocations: 169.9 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004096/0.2589, allocations: 174.5 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.2594, allocations: 207.2 kB / 1.219 GB, free: 12.62 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.2597, allocations: 235.5 kB / 1.219 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.2599, allocations: 45.88 kB / 1.219 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.26, allocations: 103.6 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2602, allocations: 167.5 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.268e-05/0.2603, allocations: 16 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.2604, allocations: 47.92 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.2605, allocations: 83.75 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.2606, allocations: 123.2 kB / 1.22 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.261, allocations: 354.5 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.261, allocations: 0 / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.261, allocations: 0 / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.261, allocations: 4 kB / 1.22 GB, free: 11.46 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008187/0.2618, allocations: 0.6106 MB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2619, allocations: 8.031 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.063e-05/0.2619, allocations: 38.73 kB / 1.221 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.262, allocations: 32.7 kB / 1.221 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/0.2625, allocations: 418.6 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.2625, allocations: 4.375 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2625, allocations: 7.938 kB / 1.221 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.2627, allocations: 77.66 kB / 1.221 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.2627, allocations: 4 kB / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.2627, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2627, allocations: 0 / 1.221 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.2629, allocations: 51.91 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.2634, allocations: 480.5 kB / 1.222 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.2636, allocations: 54.48 kB / 1.222 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.908e-05/0.2636, allocations: 16.92 kB / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.2637, allocations: 0 / 1.222 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.2637, allocations: 34.55 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.2637, allocations: 0 / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0002995/0.264, allocations: 109.4 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.264, allocations: 51.41 kB / 1.222 GB, free: 9.301 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006519/0.2647, allocations: 0.5563 MB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.2647, allocations: 25.7 kB / 1.222 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.2648, allocations: 179.9 kB / 1.223 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.2649, allocations: 3.953 kB / 1.223 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.2649, allocations: 17.72 kB / 1.223 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.265, allocations: 346.8 kB / 1.223 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.2651, allocations: 11.98 kB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.2651, allocations: 19.98 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.037e-05/0.2652, allocations: 33.11 kB / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2652, allocations: 0 / 1.223 GB, free: 8.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001698/0.2654, allocations: 93.44 kB / 1.223 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2654, allocations: 8 kB / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.768e-06/0.2654, allocations: 0 / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.2654, allocations: 3.938 kB / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.2655, allocations: 7.984 kB / 1.223 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2655, allocations: 3.938 kB / 1.223 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.373e-05/0.2656, allocations: 12 kB / 1.223 GB, free: 7.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/0.2656, allocations: 4 kB / 1.223 GB, free: 7.945 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 (3): * Single equations (assignments): 3 * 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.0001503/0.2657, allocations: 177.8 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.2658, allocations: 27.81 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.266, allocations: 104.1 kB / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.266, allocations: 0 / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.266, allocations: 112 / 1.223 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.266, allocations: 3.938 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.2663, allocations: 293.5 kB / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2663, allocations: 0 / 1.224 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.2663, allocations: 7.984 kB / 1.224 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.2663, allocations: 4 kB / 1.224 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2663, allocations: 3.938 kB / 1.224 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2663, allocations: 3.938 kB / 1.224 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2663, allocations: 0 / 1.224 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.2666, allocations: 187.3 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-05/0.2667, allocations: 124.8 kB / 1.224 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2667, allocations: 3.938 kB / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.2668, allocations: 0 / 1.224 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.2668, allocations: 7.984 kB / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.2668, allocations: 0 / 1.224 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004451/0.2672, allocations: 415.1 kB / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2672, allocations: 0 / 1.224 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002602/0.2675, allocations: 24 kB / 1.224 GB, free: 6.488 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 (3): * Single equations (assignments): 3 * 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.001571/0.2691, allocations: 0.9853 MB / 1.225 GB, free: 5.609 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.2692, allocations: 39.91 kB / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2692, allocations: 0 / 1.225 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 5.559e-05/0.2693, allocations: 19.92 kB / 1.225 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.2697, allocations: 44.33 kB / 1.225 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.273, allocations: 2.897 MB / 1.228 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.2733, allocations: 0.7831 MB / 1.229 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001093/0.2735, allocations: 46.91 kB / 1.229 GB, free: 1.676 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.2736, allocations: 87.41 kB / 1.229 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of SimCode: time 5.61e-07/0.2736, allocations: 4 kB / 1.229 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.3021, allocations: 5.454 MB / 1.235 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.358/7.66, allocations: 8.625 kB / 1.235 GB, free: 12.18 MB / 0.9825 GB " [Timeout remaining time 292] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.fmu > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_LinearPiecewiseTwo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable linPieTwo.u in file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.csv. Warning: Get data of variable linPieTwo.u from file Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.LinearPiecewiseTwo_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.858782415998576]