Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008542/0.0008542, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.000947/0.000947, allocations: 169.9 kB / 22.46 MB, free: 2.094 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.8993/0.8993, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.719/1.719, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.981 GB, free: 2.492 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.322e-05/1.464e-05, allocations: 10.22 kB / 0.981 GB, free: 2.48 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001122/0.001137, allocations: 0.7028 MB / 0.9817 GB, free: 1.777 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006485/0.001785, allocations: 0.8315 MB / 0.9825 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.001815, allocations: 0 / 0.9825 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.001839, allocations: 3.938 kB / 0.9825 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.208e-05/0.001891, allocations: 7.938 kB / 0.9825 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 9.501e-05/0.001986, allocations: 19.92 kB / 0.9826 GB, free: 0.9023 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.964e-05/0.002056, allocations: 43.84 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.002139, allocations: 8 kB / 0.9826 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.002206, allocations: 27.91 kB / 0.9826 GB, free: 0.8242 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.969e-05/0.002246, allocations: 19.91 kB / 0.9827 GB, free: 0.8047 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.002267, allocations: 4 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.385e-06/0.002275, allocations: 4 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.002291, allocations: 8 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.002311, allocations: 11.92 kB / 0.9827 GB, free: 0.7773 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 7.921e-05/0.002391, allocations: 47.92 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.002392, allocations: 0 / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002393, allocations: 0 / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.002397, allocations: 0 / 0.9827 GB, free: 0.7305 MB / 0.9323 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.0003451/0.002742, allocations: 286.2 kB / 0.983 GB, free: 428 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.00278, allocations: 8.031 kB / 0.983 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.781e-05/0.002808, allocations: 30.75 kB / 0.983 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.141e-05/0.002829, allocations: 8.891 kB / 0.983 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.606e-05/0.002905, allocations: 109.7 kB / 0.9832 GB, free: 236 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.002916, allocations: 8.375 kB / 0.9832 GB, free: 228 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.002925, allocations: 4.375 kB / 0.9832 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.003089, allocations: 74.14 kB / 0.9832 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.003096, allocations: 192 / 0.9832 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.003104, allocations: 384 / 0.9832 GB, free: 144 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.00311, allocations: 8.062 kB / 0.9832 GB, free: 136 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.003246, allocations: 67.92 kB / 0.9833 GB, free: 68 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.003527, allocations: 228 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.003647, allocations: 50.53 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.003721, allocations: 44.86 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.003741, allocations: 3.938 kB / 0.9836 GB, free: 15.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.003757, allocations: 30.56 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 7.01e-07/0.003758, allocations: 3.938 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0002886/0.004047, allocations: 129.6 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.00407, allocations: 55.41 kB / 0.9838 GB, free: 15.45 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.33e-05/0.004123, allocations: 105.8 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.867e-06/0.004132, allocations: 25.7 kB / 0.984 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.483e-05/0.004167, allocations: 92.09 kB / 0.984 GB, free: 15.21 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.004182, allocations: 11.89 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/0.004208, allocations: 21.7 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.284e-05/0.004271, allocations: 310.8 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.647e-05/0.004337, allocations: 35.91 kB / 0.9844 GB, free: 14.82 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.828e-05/0.004415, allocations: 31.95 kB / 0.9844 GB, free: 14.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.004542, allocations: 72.78 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.004543, allocations: 0 / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001472/0.004691, allocations: 97.56 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.004702, allocations: 4 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.004706, allocations: 336 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.004715, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.195e-05/0.004787, allocations: 19.98 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.004792, allocations: 3.938 kB / 0.9846 GB, free: 14.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.647e-05/0.004829, allocations: 23.92 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.004834, allocations: 0 / 0.9847 GB, free: 14.57 MB / 0.948 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.57e-05/0.00489, allocations: 109.8 kB / 0.9848 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.004903, allocations: 7.922 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.005086, allocations: 113.6 kB / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.005088, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.005091, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.005094, allocations: 0 / 0.9849 GB, free: 14.32 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.525e-05/0.005189, allocations: 132.8 kB / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.00519, allocations: 0 / 0.985 GB, free: 14.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.005233, allocations: 27.84 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.005234, allocations: 0 / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.005241, allocations: 0 / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.005242, allocations: 0 / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.005242, allocations: 8 kB / 0.985 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.005412, allocations: 191.4 kB / 0.9852 GB, free: 13.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.00542, allocations: 11.92 kB / 0.9852 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.005429, allocations: 4 kB / 0.9852 GB, free: 13.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.707e-05/0.005476, allocations: 11.98 kB / 0.9852 GB, free: 13.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.005508, allocations: 4 kB / 0.9852 GB, free: 13.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.005511, allocations: 7.984 kB / 0.9853 GB, free: 13.88 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.972e-05/0.005541, allocations: 91.58 kB / 0.9853 GB, free: 13.79 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005541, allocations: 0 / 0.9853 GB, free: 13.79 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001369/0.005678, allocations: 7.938 kB / 0.9853 GB, free: 13.78 MB / 0.948 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.0003304/0.006008, allocations: 0.7318 MB / 0.9861 GB, free: 13.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001682/0.006176, allocations: 67.92 kB / 0.9861 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.006178, allocations: 0 / 0.9861 GB, free: 12.95 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.00635, allocations: 35.95 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001892/0.006539, allocations: 4 kB / 0.9862 GB, free: 12.91 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.006841, allocations: 154.4 kB / 0.9863 GB, free: 12.72 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.71e-05/0.006879, allocations: 71.28 kB / 0.9864 GB, free: 12.63 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.945e-05/0.006898, allocations: 4 kB / 0.9864 GB, free: 12.62 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.522e-05/0.006933, allocations: 12.5 kB / 0.9864 GB, free: 12.61 MB / 0.948 GB Notification: Performance of SimCode: time 6.82e-07/0.006934, allocations: 0 / 0.9864 GB, free: 12.61 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01325/0.02018, allocations: 2.321 MB / 0.9887 GB, free: 10.44 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.819/6.839, allocations: 23.44 kB / 0.9887 GB, free: 10.42 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! Error: Could not read variable max1.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv. Warning: Get data of variable max1.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.954593324102461]