Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00129/0.00129, allocations: 104.1 kB / 16.45 MB, free: 6.508 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.001295/0.001295, allocations: 195.7 kB / 19.41 MB, free: 3.676 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.439/1.439, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.242/3.242, allocations: 497.2 MB / 0.7811 GB, free: 33.72 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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.61 kB / 1.134 GB, free: 33.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3511, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.00264/0.3537, allocations: 0.7004 MB / 1.305 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3548, allocations: 0.8044 MB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.039e-05/0.3548, allocations: 0 / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.3548, allocations: 3.938 kB / 1.305 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.3549, allocations: 11.92 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.355, allocations: 11.98 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.253e-05/0.3551, allocations: 43.84 kB / 1.306 GB, free: 15.9 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3552, allocations: 11.98 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 7.646e-05/0.3553, allocations: 23.92 kB / 1.306 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.3553, allocations: 19.92 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.3553, allocations: 4 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.3554, allocations: 4 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.468e-05/0.3554, allocations: 4 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.3554, allocations: 19.86 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.3555, allocations: 48.08 kB / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3555, allocations: 0 / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3555, allocations: 0 / 1.306 GB, free: 15.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3555, allocations: 0 / 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.0005665/0.3561, allocations: 365.1 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.3561, allocations: 8.625 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.077e-05/0.3562, allocations: 34.75 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.3562, allocations: 4.891 kB / 1.306 GB, free: 15.31 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.3564, allocations: 188.2 kB / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-06/0.3564, allocations: 384 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3564, allocations: 384 / 1.306 GB, free: 15.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002462/0.3566, allocations: 82.14 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.3567, allocations: 7.875 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3567, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-06/0.3567, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002633/0.3569, allocations: 63.92 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004003/0.3573, allocations: 268.9 kB / 1.307 GB, free: 14.62 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.3575, allocations: 54.53 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/0.3577, allocations: 36.91 kB / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3577, allocations: 0 / 1.307 GB, free: 14.52 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3577, allocations: 38.56 kB / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.3577, allocations: 0 / 1.307 GB, free: 14.47 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005353/0.3583, allocations: 137.6 kB / 1.307 GB, free: 14.33 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3583, allocations: 51.41 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.702e-05/0.3584, allocations: 109.8 kB / 1.307 GB, free: 14.15 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3584, allocations: 29.7 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.768e-05/0.3585, allocations: 88.12 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.766e-05/0.3585, allocations: 3.953 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/0.3585, allocations: 13.72 kB / 1.307 GB, free: 14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.3588, allocations: 318.8 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.3589, allocations: 31.97 kB / 1.308 GB, free: 13.65 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.359, allocations: 31.97 kB / 1.308 GB, free: 13.62 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.3593, allocations: 72.72 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3593, allocations: 0 / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004268/0.3597, allocations: 105.5 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.3597, allocations: 7.984 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3597, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.3598, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.3599, allocations: 15.98 kB / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3599, allocations: 0 / 1.308 GB, free: 13.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.36, allocations: 11.98 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.36, allocations: 0 / 1.308 GB, free: 13.4 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 9.181e-05/0.3601, allocations: 129.3 kB / 1.308 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.3601, allocations: 3.984 kB / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.3604, allocations: 109.5 kB / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3604, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3604, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3604, allocations: 0 / 1.308 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.3606, allocations: 189.4 kB / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3606, allocations: 0 / 1.308 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.082e-05/0.3607, allocations: 15.98 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3607, allocations: 3.984 kB / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.3607, allocations: 0 / 1.308 GB, free: 12.89 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3607, allocations: 7.938 kB / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3607, allocations: 0 / 1.308 GB, free: 12.88 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.3611, allocations: 195.4 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.826e-05/0.3611, allocations: 77.11 kB / 1.308 GB, free: 12.58 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.3611, allocations: 4 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3613, allocations: 15.97 kB / 1.308 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.935e-05/0.3613, allocations: 3.938 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.3613, allocations: 4 kB / 1.309 GB, free: 12.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.3614, allocations: 91.27 kB / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3614, allocations: 0 / 1.309 GB, free: 12.46 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002141/0.3616, allocations: 11.95 kB / 1.309 GB, free: 12.45 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.0007497/0.3623, allocations: 0.7283 MB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003341/0.3626, allocations: 71.89 kB / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3627, allocations: 0 / 1.309 GB, free: 11.62 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3628, allocations: 31.97 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3631, allocations: 15.98 kB / 1.309 GB, free: 11.58 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.3636, allocations: 155.1 kB / 1.31 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3639, allocations: 0.6768 MB / 1.31 GB, free: 10.68 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.3639, allocations: 7.984 kB / 1.31 GB, free: 10.67 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.35e-05/0.364, allocations: 11.44 kB / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.364, allocations: 0 / 1.31 GB, free: 10.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0288/0.3928, allocations: 1.639 MB / 1.312 GB, free: 9.117 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.602, allocations: 14.77 kB / 1.312 GB, free: 9.105 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.256197710055858]