Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.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.0008077/0.0008077, 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.0008782/0.0008782, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.864/0.864, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.77/1.77, allocations: 389 MB / 0.633 GB, free: 12.67 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.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Abs,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.353e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.4 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Abs): time 0.001295/0.001318, allocations: 0.6561 MB / 1 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008505/0.002169, allocations: 0.8666 MB / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.002202, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.002226, allocations: 0 / 1.001 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/0.002283, allocations: 11.88 kB / 1.001 GB, free: 11.86 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.002431, allocations: 7.984 kB / 1.001 GB, free: 11.85 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.002493, allocations: 19.94 kB / 1.001 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.348e-05/0.002587, allocations: 15.98 kB / 1.001 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.459e-05/0.002651, allocations: 15.92 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 3.142e-05/0.002683, allocations: 3.984 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.002705, allocations: 4 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.293e-06/0.002713, allocations: 0 / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.839e-05/0.002731, allocations: 8 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.002755, allocations: 3.984 kB / 1.001 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 8.185e-05/0.002837, allocations: 23.91 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.00284, allocations: 0 / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.91e-07/0.00284, allocations: 0 / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.002845, allocations: 4 kB / 1.001 GB, free: 11.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003496/0.003194, allocations: 262.3 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.003239, allocations: 8.75 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.318e-05/0.003272, allocations: 34.75 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.087e-05/0.003293, allocations: 0.9375 kB / 1.002 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.92e-05/0.003372, allocations: 109.7 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.003385, allocations: 8.359 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.003395, allocations: 4.359 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.003526, allocations: 46.25 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.003534, allocations: 4.188 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.003544, allocations: 384 / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.003549, allocations: 4.125 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.742e-05/0.003637, allocations: 35.95 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.00397, allocations: 220 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.733e-05/0.004068, allocations: 38.5 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.004118, allocations: 20.91 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.004141, allocations: 8 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.004162, allocations: 34.5 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004163, allocations: 0 / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0002625/0.004426, allocations: 85.58 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.004462, allocations: 51.41 kB / 1.002 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.004541, allocations: 97.84 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.004553, allocations: 29.7 kB / 1.002 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.504e-05/0.004598, allocations: 88.27 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.004618, allocations: 3.953 kB / 1.002 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.004646, allocations: 13.72 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.004749, allocations: 318.8 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.738e-05/0.004796, allocations: 11.98 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.005e-05/0.004836, allocations: 23.98 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.642e-05/0.004923, allocations: 44.75 kB / 1.003 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.004927, allocations: 4 kB / 1.003 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001251/0.005052, allocations: 69.55 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.005069, allocations: 4 kB / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.005077, allocations: 0 / 1.003 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.005096, allocations: 4 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.005182, allocations: 7.984 kB / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.005188, allocations: 0 / 1.003 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.005215, allocations: 12.02 kB / 1.003 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.00522, allocations: 0 / 1.003 GB, free: 9.879 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 (2): * Single equations (assignments): 2 * 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 6.474e-05/0.005285, allocations: 113.8 kB / 1.003 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.343e-05/0.005298, allocations: 7.891 kB / 1.003 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.005328, allocations: 3.312 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.005332, allocations: 4 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.005337, allocations: 0 / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.00534, allocations: 0 / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.005455, allocations: 124.8 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.005456, allocations: 0 / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/0.005488, allocations: 15.98 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.005491, allocations: 3.938 kB / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.005498, allocations: 0 / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.41e-07/0.005499, allocations: 0 / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.0055, allocations: 0 / 1.003 GB, free: 9.555 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.005666, allocations: 164.2 kB / 1.003 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.005676, allocations: 7.938 kB / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.092e-05/0.005687, allocations: 0 / 1.003 GB, free: 9.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.542e-05/0.005723, allocations: 8.016 kB / 1.003 GB, free: 9.363 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.005763, allocations: 4.188 kB / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.005766, allocations: 0 / 1.003 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.005807, allocations: 87.25 kB / 1.003 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005807, allocations: 0 / 1.003 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000141/0.005948, allocations: 8 kB / 1.004 GB, free: 9.266 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 (2): * Single equations (assignments): 2 * 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.0003839/0.006331, allocations: 0.6928 MB / 1.004 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001428/0.006474, allocations: 39.98 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.006476, allocations: 0 / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.209e-05/0.006518, allocations: 19.98 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.006781, allocations: 3.938 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.00716, allocations: 134.5 kB / 1.004 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.801e-05/0.007208, allocations: 63.34 kB / 1.004 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.767e-05/0.007226, allocations: 8.062 kB / 1.004 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.007264, allocations: 12.44 kB / 1.004 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of SimCode: time 4.01e-07/0.007264, allocations: 0 / 1.004 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01427/0.02154, allocations: 1.947 MB / 1.006 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.518/6.54, allocations: 3.375 kB / 1.006 GB, free: 6.398 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Abs.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Abs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Abs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.588746623136103]