Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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.001538/0.001538, allocations: 105.7 kB / 16.4 MB, free: 6.5 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.001813/0.001813, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.496/1.496, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.802/2.802, allocations: 469.8 MB / 0.7491 GB, free: 3.008 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.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 71.89 kB / 1.073 GB, free: 88 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8621/0.864, allocations: 159.1 MB / 1.229 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001801/0.8659, allocations: 0.5779 MB / 1.229 GB, free: 4.215 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 4.496e-05/0.8659, allocations: 3.938 kB / 1.229 GB, free: 4.211 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.866, allocations: 4 kB / 1.229 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.651e-05/0.866, allocations: 4 kB / 1.229 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.277e-05/0.866, allocations: 0 / 1.229 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 3.96e-05/0.8661, allocations: 0 / 1.229 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.166e-05/0.8661, allocations: 11.88 kB / 1.229 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.484e-05/0.8662, allocations: 0 / 1.229 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.714e-05/0.8662, allocations: 4 kB / 1.229 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.306e-05/0.8663, allocations: 3.984 kB / 1.229 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.8663, allocations: 0 / 1.229 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.36e-06/0.8663, allocations: 0 / 1.229 GB, free: 4.184 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.8663, allocations: 4 kB / 1.229 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.8663, allocations: 0 / 1.229 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 6.913e-05/0.8664, allocations: 4 kB / 1.229 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.8664, allocations: 7.938 kB / 1.229 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8664, allocations: 0 / 1.229 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.8664, allocations: 3.984 kB / 1.229 GB, free: 4.164 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003766/0.8668, allocations: 309.4 kB / 1.23 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.8669, allocations: 12.03 kB / 1.23 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.8669, allocations: 38.69 kB / 1.23 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.227e-05/0.867, allocations: 0.9375 kB / 1.23 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.8672, allocations: 164.4 kB / 1.23 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.8672, allocations: 4.375 kB / 1.23 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.8672, allocations: 4.375 kB / 1.23 GB, free: 3.547 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.8673, allocations: 26.27 kB / 1.23 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.8673, allocations: 3.938 kB / 1.23 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.8673, allocations: 0 / 1.23 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.8673, allocations: 0 / 1.23 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.8674, allocations: 4 kB / 1.23 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.8678, allocations: 383.5 kB / 1.23 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.868, allocations: 173.1 kB / 1.23 GB, free: 2.902 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.868, allocations: 80.14 kB / 1.23 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 5.647e-05/0.8681, allocations: 75.28 kB / 1.231 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.055e-05/0.8682, allocations: 109.8 kB / 1.231 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 3.977e-06/0.8682, allocations: 3.984 kB / 1.231 GB, free: 2.625 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.713e-05/0.8683, allocations: 37.64 kB / 1.231 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.903e-05/0.8684, allocations: 126.7 kB / 1.231 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.8685, allocations: 93.84 kB / 1.231 GB, free: 2.344 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.8685, allocations: 29.7 kB / 1.231 GB, free: 2.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.012e-05/0.8686, allocations: 80.14 kB / 1.231 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-06/0.8686, allocations: 0 / 1.231 GB, free: 2.227 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.8686, allocations: 13.72 kB / 1.231 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8688, allocations: 315 kB / 1.231 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-06/0.8688, allocations: 0 / 1.231 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.956e-06/0.8688, allocations: 0 / 1.231 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.8689, allocations: 79.28 kB / 1.231 GB, free: 1.812 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.86e-05/0.8689, allocations: 79.22 kB / 1.231 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.784e-05/0.869, allocations: 33.58 kB / 1.231 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.869, allocations: 87.27 kB / 1.232 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.273e-05/0.8691, allocations: 75.31 kB / 1.232 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.195e-05/0.8692, allocations: 166.5 kB / 1.232 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.033e-05/0.8692, allocations: 79.22 kB / 1.232 GB, free: 1.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.951e-05/0.8693, allocations: 162.5 kB / 1.232 GB, free: 1.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.442e-05/0.8694, allocations: 79.22 kB / 1.232 GB, free: 1.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.35e-05/0.8694, allocations: 75.28 kB / 1.232 GB, free: 0.9805 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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 0.0001479/0.8696, allocations: 265.2 kB / 1.232 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.8697, allocations: 112.9 kB / 1.233 GB, free: 0.5938 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.852e-05/0.8697, allocations: 108.1 kB / 1.233 GB, free: 492 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-05/0.8698, allocations: 176.3 kB / 1.233 GB, free: 308 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.655e-05/0.8699, allocations: 180.2 kB / 1.233 GB, free: 120 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001156/0.8701, allocations: 180.3 kB / 1.233 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.8704, allocations: 410.1 kB / 1.234 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-05/0.8704, allocations: 105 kB / 1.234 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.488e-05/0.8705, allocations: 105 kB / 1.234 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.062e-05/0.8706, allocations: 184.2 kB / 1.234 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.8706, allocations: 176.3 kB / 1.234 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.026e-05/0.8707, allocations: 184.2 kB / 1.234 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-05/0.8708, allocations: 184.3 kB / 1.234 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000166/0.871, allocations: 312.1 kB / 1.235 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001342/0.8711, allocations: 182 kB / 1.235 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.8712, allocations: 180.2 kB / 1.235 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.8713, allocations: 113 kB / 1.235 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.8714, allocations: 184.2 kB / 1.235 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.632e-05/0.8715, allocations: 104.9 kB / 1.235 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.243e-05/0.8716, allocations: 75.28 kB / 1.236 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8716, allocations: 4 kB / 1.236 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002605/0.8718, allocations: 0 / 1.236 GB, free: 13.31 MB / 0.9512 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 (0): * Single equations (assignments): 0 * 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.0004955/0.8723, allocations: 0.8093 MB / 1.236 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 4.636e-05/0.8724, allocations: 3.938 kB / 1.236 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.8724, allocations: 0 / 1.236 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.256e-06/0.8724, allocations: 4 kB / 1.236 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.8728, allocations: 459.7 kB / 1.237 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.874, allocations: 1.524 MB / 1.238 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.8744, allocations: 0.669 MB / 1.239 GB, free: 9.711 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.518e-06/0.8744, allocations: 3.938 kB / 1.239 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.8744, allocations: 11.38 kB / 1.239 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.8744, allocations: 4.031 kB / 1.239 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.896, allocations: 0.921 MB / 1.24 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.793, allocations: 15.11 kB / 1.24 GB, free: 8.867 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.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: 14.933975853025913]