Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001366/0.001366, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001428/0.001428, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.292/1.292, 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 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.525/2.525, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 63.91 kB / 1.107 GB, free: 5.078 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7508/0.7527, allocations: 168.7 MB / 1.271 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001636/0.7544, allocations: 0.725 MB / 1.272 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006932/0.755, allocations: 0.8022 MB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.7551, allocations: 0.5625 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.28e-05/0.7551, allocations: 6.156 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.7552, allocations: 14.02 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.625e-05/0.7552, allocations: 10.06 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.932e-05/0.7553, allocations: 48.28 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.505e-05/0.7554, allocations: 4.562 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.7555, allocations: 21.42 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.7555, allocations: 22.86 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.7555, allocations: 3.156 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.7556, allocations: 7.781 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.693e-05/0.7556, allocations: 7.438 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.101e-05/0.7556, allocations: 21.69 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.377e-05/0.7557, allocations: 41.34 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.7557, allocations: 0.6875 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7557, allocations: 0 / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.7557, allocations: 1.375 kB / 1.273 GB, free: 6.52 MB / 0.9981 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.0003859/0.7561, allocations: 364 kB / 1.273 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.7561, allocations: 9.656 kB / 1.273 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.151e-05/0.7561, allocations: 36.14 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.145e-05/0.7562, allocations: 8.109 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.932e-05/0.7562, allocations: 163.7 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.7562, allocations: 1.969 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.7562, allocations: 1.938 kB / 1.274 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.7565, allocations: 76.27 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7565, allocations: 5.422 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.7565, allocations: 0 / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.7565, allocations: 0.8438 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.7568, allocations: 63.22 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002534/0.757, allocations: 273.9 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.7572, allocations: 54.52 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.7574, allocations: 40.33 kB / 1.274 GB, free: 5.512 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.7574, allocations: 6.031 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.7574, allocations: 43.12 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.7574, allocations: 0.8125 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005127/0.7579, allocations: 124.3 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.7579, allocations: 52.09 kB / 1.274 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.758, allocations: 111.5 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.758, allocations: 30.55 kB / 1.275 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.483e-05/0.758, allocations: 101 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.758, allocations: 5.547 kB / 1.275 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-05/0.7581, allocations: 16.09 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.536e-05/0.7581, allocations: 313.6 kB / 1.275 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.7582, allocations: 31.28 kB / 1.275 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.7584, allocations: 36.48 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002511/0.7586, allocations: 73.66 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.7586, allocations: 1.125 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002893/0.7589, allocations: 101.8 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.7589, allocations: 4.906 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.7589, allocations: 0.75 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.7589, allocations: 0.7188 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.759, allocations: 21.2 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.117e-06/0.759, allocations: 0 / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.445e-05/0.7591, allocations: 11.73 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.7591, allocations: 0 / 1.275 GB, free: 4.691 MB / 0.9981 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 4.142e-05/0.7592, allocations: 122.5 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.7592, allocations: 1.781 kB / 1.275 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003187/0.7595, allocations: 103.3 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.7595, allocations: 2.766 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.7595, allocations: 0 / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.7595, allocations: 0 / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.7596, allocations: 175.4 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7596, allocations: 0.9688 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.7597, allocations: 17.86 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.7597, allocations: 0.8125 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.7597, allocations: 2.438 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7597, allocations: 0 / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7597, allocations: 0.7812 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.76, allocations: 201.5 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.7601, allocations: 78.89 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.7601, allocations: 0.75 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.7602, allocations: 13.61 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.7602, allocations: 4.594 kB / 1.276 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.7602, allocations: 4.688 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.7602, allocations: 91.39 kB / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7602, allocations: 0 / 1.276 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002026/0.7604, allocations: 6.469 kB / 1.276 GB, free: 3.973 MB / 0.9981 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.0004671/0.7609, allocations: 0.7397 MB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003108/0.7612, allocations: 66.06 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.7612, allocations: 0.9375 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.7614, allocations: 37.97 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.7616, allocations: 21.66 kB / 1.277 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.762, allocations: 163.7 kB / 1.277 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.648e-05/0.7621, allocations: 0.6806 MB / 1.278 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.307e-05/0.7621, allocations: 1.594 kB / 1.278 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.7621, allocations: 16.92 kB / 1.278 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.7621, allocations: 4 kB / 1.278 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.7836, allocations: 1.604 MB / 1.279 GB, free: 18.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.82/7.603, allocations: 12.22 kB / 1.279 GB, free: 18 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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: 12.903972722000617]