Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.0007827/0.0007827, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007932/0.0007932, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9098/0.9098, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 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 1.766/1.766, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.816e-06/2.816e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.641e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001408/0.001434, allocations: 0.686 MB / 1 GB, free: 12.76 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008892/0.002323, allocations: 0.8315 MB / 1.001 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.209e-05/0.002375, allocations: 4 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.804e-05/0.002413, allocations: 3.938 kB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.379e-05/0.002487, allocations: 7.875 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001098/0.002597, allocations: 15.92 kB / 1.001 GB, free: 11.89 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.853e-05/0.002676, allocations: 51.84 kB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.002778, allocations: 8 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.002853, allocations: 23.97 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.193e-05/0.002895, allocations: 19.91 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.002922, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.002936, allocations: 4 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.002953, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.002977, allocations: 15.92 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.26e-05/0.003069, allocations: 43.86 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003072, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.032e-06/0.003073, allocations: 0 / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.00308, allocations: 4 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003687/0.003448, allocations: 278.3 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.003487, allocations: 16.73 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.874e-05/0.003516, allocations: 34.75 kB / 1.002 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.818e-05/0.003534, allocations: 4.891 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.568e-05/0.00362, allocations: 117.6 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.00363, allocations: 4.375 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.003639, allocations: 4.312 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.003805, allocations: 70.22 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.003813, allocations: 192 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.003822, allocations: 8.359 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003827, allocations: 4.125 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001419/0.003969, allocations: 63.94 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003257/0.004295, allocations: 224.1 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.004421, allocations: 62.48 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.936e-05/0.0045, allocations: 36.91 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.004523, allocations: 3.938 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.004545, allocations: 34.56 kB / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.004546, allocations: 0 / 1.002 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3): time 0.0003175/0.004864, allocations: 137.7 kB / 1.002 GB, free: 10.49 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.004892, allocations: 51.41 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.538e-05/0.004957, allocations: 113.8 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.004967, allocations: 25.7 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.005003, allocations: 84.14 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.005021, allocations: 7.953 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.005046, allocations: 9.719 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.005125, allocations: 322.8 kB / 1.003 GB, free: 9.84 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/0.005199, allocations: 31.97 kB / 1.003 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.759e-05/0.005266, allocations: 39.94 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.005394, allocations: 64.78 kB / 1.003 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.005396, allocations: 3.938 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001595/0.005555, allocations: 109.5 kB / 1.003 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.005569, allocations: 9.875 kB / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.005574, allocations: 0 / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.005586, allocations: 0 / 1.003 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.005668, allocations: 11.98 kB / 1.003 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.005672, allocations: 4.312 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.005706, allocations: 15.97 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.005714, allocations: 4 kB / 1.003 GB, free: 9.543 MB / 0.9636 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 5.007e-05/0.005764, allocations: 109.8 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.005777, allocations: 7.938 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001977/0.005975, allocations: 105.5 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.005977, allocations: 4 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.005982, allocations: 7.938 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.005985, allocations: 3.938 kB / 1.004 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.006097, allocations: 132.7 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.006099, allocations: 0 / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.006147, allocations: 23.91 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.006149, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.006156, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.006158, allocations: 0 / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006159, allocations: 3.984 kB / 1.004 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.006349, allocations: 195.5 kB / 1.004 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.817e-06/0.006358, allocations: 7.938 kB / 1.004 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.00637, allocations: 3.984 kB / 1.004 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.144e-05/0.006422, allocations: 11.98 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.00646, allocations: 4 kB / 1.004 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.006464, allocations: 4 kB / 1.004 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.006498, allocations: 87.27 kB / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006498, allocations: 0 / 1.004 GB, free: 8.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000142/0.00664, allocations: 19.89 kB / 1.004 GB, free: 8.742 MB / 0.9636 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.0004169/0.007057, allocations: 0.7202 MB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.007257, allocations: 68.2 kB / 1.005 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.007258, allocations: 4 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/0.007328, allocations: 35.91 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.007584, allocations: 12.17 kB / 1.005 GB, free: 7.879 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.007936, allocations: 151.2 kB / 1.005 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.431e-05/0.00798, allocations: 75.27 kB / 1.005 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.008003, allocations: 7.938 kB / 1.005 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.794e-05/0.008051, allocations: 12.5 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of SimCode: time 6.91e-07/0.008051, allocations: 4 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.02747, allocations: 2.31 MB / 1.007 GB, free: 5.395 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.869/6.897, allocations: 9.859 kB / 1.007 GB, free: 5.387 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable max1.u1 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.065016593784094]