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.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.0013/0.0013, allocations: 109.2 kB / 16.45 MB, free: 6.035 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.001419/0.001419, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.159/3.159, allocations: 497.2 MB / 0.7811 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.002048/0.002048, allocations: 66.72 kB / 1.134 GB, free: 33.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3475, allocations: 173.9 MB / 1.304 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.00234/0.3498, allocations: 0.7078 MB / 1.305 GB, free: 0.7969 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.351, allocations: 0.8122 MB / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.3511, allocations: 0 / 1.306 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.3511, allocations: 3.938 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.745e-05/0.3512, allocations: 7.938 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001127/0.3513, allocations: 7.984 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.3514, allocations: 51.84 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.3515, allocations: 8 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.792e-05/0.3516, allocations: 19.81 kB / 1.306 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.203e-05/0.3517, allocations: 19.91 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.3517, allocations: 4 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.165e-05/0.3517, allocations: 4 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.3517, allocations: 7.984 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.3517, allocations: 23.86 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.3518, allocations: 40.09 kB / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3519, allocations: 0 / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3519, allocations: 0 / 1.306 GB, free: 15.78 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3519, allocations: 4 kB / 1.306 GB, free: 15.77 MB / 1.014 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.0005546/0.3524, allocations: 355.4 kB / 1.306 GB, free: 15.38 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3525, allocations: 12.92 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.3525, allocations: 34.75 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.3525, allocations: 4.891 kB / 1.306 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3527, allocations: 184.2 kB / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3527, allocations: 384 / 1.306 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.3527, allocations: 8.375 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3529, allocations: 70.22 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.353, allocations: 3.938 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.353, allocations: 0 / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.353, allocations: 3.938 kB / 1.306 GB, free: 15.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/0.3532, allocations: 63.92 kB / 1.306 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.3536, allocations: 276.8 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.3538, allocations: 58.52 kB / 1.307 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.354, allocations: 36.92 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.354, allocations: 4 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.354, allocations: 30.56 kB / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.354, allocations: 0 / 1.307 GB, free: 14.48 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.00055/0.3546, allocations: 133.5 kB / 1.307 GB, free: 14.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3546, allocations: 55.41 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3547, allocations: 109.8 kB / 1.307 GB, free: 14.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.3547, allocations: 25.7 kB / 1.307 GB, free: 14.12 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.3548, allocations: 84.14 kB / 1.307 GB, free: 14.04 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3548, allocations: 11.94 kB / 1.307 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.3548, allocations: 13.72 kB / 1.307 GB, free: 14.01 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.355, allocations: 318.8 kB / 1.308 GB, free: 13.69 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3551, allocations: 35.95 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/0.3553, allocations: 31.97 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002602/0.3555, allocations: 68.72 kB / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3555, allocations: 0 / 1.308 GB, free: 13.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003176/0.3559, allocations: 105.5 kB / 1.308 GB, free: 13.44 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.3559, allocations: 8 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.3559, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.3559, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.356, allocations: 19.97 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.356, allocations: 4 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.946e-05/0.3561, allocations: 11.98 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3561, allocations: 4 kB / 1.308 GB, free: 13.39 MB / 1.014 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 8.124e-05/0.3562, allocations: 113.8 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.3562, allocations: 4 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003564/0.3566, allocations: 105.5 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3566, allocations: 4 kB / 1.308 GB, free: 13.15 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.3566, allocations: 4 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3566, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.3568, allocations: 181.5 kB / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3568, allocations: 0 / 1.308 GB, free: 12.92 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/0.3569, allocations: 15.92 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.3569, allocations: 0 / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.3569, allocations: 4 kB / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3569, allocations: 0 / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3569, allocations: 0 / 1.308 GB, free: 12.9 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003595/0.3573, allocations: 203.7 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.3573, allocations: 77.11 kB / 1.308 GB, free: 12.59 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3573, allocations: 8.047 kB / 1.308 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3574, allocations: 11.97 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.3575, allocations: 11.98 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.3575, allocations: 4 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.769e-05/0.3575, allocations: 83.28 kB / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3575, allocations: 0 / 1.309 GB, free: 12.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002177/0.3577, allocations: 11.95 kB / 1.309 GB, free: 12.46 MB / 1.014 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.0007588/0.3585, allocations: 0.728 MB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003238/0.3588, allocations: 71.86 kB / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3588, allocations: 0 / 1.309 GB, free: 11.64 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.359, allocations: 39.95 kB / 1.309 GB, free: 11.6 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3593, allocations: 7.938 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004724/0.3598, allocations: 155.1 kB / 1.31 GB, free: 11.39 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.3601, allocations: 0.6807 MB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.975e-05/0.3601, allocations: 4 kB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/0.3602, allocations: 15.44 kB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3602, allocations: 0 / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/0.3843, allocations: 1.637 MB / 1.312 GB, free: 9.125 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.345, allocations: 8.062 kB / 1.312 GB, free: 9.117 MB / 1.014 GB " [Timeout remaining time 292] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: 15.087258423678577]