Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001549/0.001549, allocations: 116.6 kB / 17.08 MB, free: 5.984 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.001635/0.001635, allocations: 191.7 kB / 20.03 MB, free: 3.059 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.451/1.451, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.704/2.704, allocations: 437.1 MB / 0.7177 GB, free: 4.461 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 71.89 kB / 1.028 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3145, allocations: 151.6 MB / 1.176 GB, free: 5.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001904/0.3165, allocations: 0.6542 MB / 1.177 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3175, allocations: 0.8161 MB / 1.177 GB, free: 4.336 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.3176, allocations: 3.938 kB / 1.177 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.3176, allocations: 3.984 kB / 1.177 GB, free: 4.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.425e-05/0.3177, allocations: 3.938 kB / 1.177 GB, free: 4.324 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001267/0.3178, allocations: 4 kB / 1.177 GB, free: 4.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.684e-05/0.3179, allocations: 23.98 kB / 1.177 GB, free: 4.297 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.318, allocations: 11.94 kB / 1.177 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.3181, allocations: 7.922 kB / 1.177 GB, free: 4.277 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.3181, allocations: 19.91 kB / 1.177 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.3182, allocations: 4 kB / 1.177 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.744e-06/0.3182, allocations: 0 / 1.177 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.3182, allocations: 4 kB / 1.177 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.479e-05/0.3182, allocations: 7.938 kB / 1.177 GB, free: 4.242 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.31e-05/0.3183, allocations: 31.84 kB / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3183, allocations: 0 / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3183, allocations: 0 / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.3183, allocations: 0 / 1.177 GB, free: 4.211 MB / 0.92 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.0005201/0.3189, allocations: 331.5 kB / 1.178 GB, free: 3.836 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.3189, allocations: 12.03 kB / 1.178 GB, free: 3.824 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.3189, allocations: 4.938 kB / 1.178 GB, free: 3.82 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.3191, allocations: 172.3 kB / 1.178 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3191, allocations: 4.359 kB / 1.178 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.3191, allocations: 4.375 kB / 1.178 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3193, allocations: 54.17 kB / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3193, allocations: 192 / 1.178 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3194, allocations: 3.938 kB / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3194, allocations: 0 / 1.178 GB, free: 3.543 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.3195, allocations: 31.97 kB / 1.178 GB, free: 3.512 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.3199, allocations: 249 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.32, allocations: 38.5 kB / 1.178 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.062e-05/0.3201, allocations: 20.84 kB / 1.178 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3202, allocations: 4 kB / 1.178 GB, free: 3.145 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.3202, allocations: 34.56 kB / 1.178 GB, free: 3.102 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3202, allocations: 4 kB / 1.178 GB, free: 3.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0003744/0.3206, allocations: 77.64 kB / 1.178 GB, free: 3.016 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3207, allocations: 51.41 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.067e-05/0.3208, allocations: 101.8 kB / 1.179 GB, free: 2.844 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.3208, allocations: 25.7 kB / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.955e-05/0.3208, allocations: 88.08 kB / 1.179 GB, free: 2.723 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.3209, allocations: 16.06 kB / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.3209, allocations: 9.719 kB / 1.179 GB, free: 2.691 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3211, allocations: 314.8 kB / 1.179 GB, free: 2.375 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.034e-05/0.3211, allocations: 23.92 kB / 1.179 GB, free: 2.352 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.336e-05/0.3212, allocations: 11.98 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.3214, allocations: 48.88 kB / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3214, allocations: 0 / 1.179 GB, free: 2.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/0.3216, allocations: 69.56 kB / 1.179 GB, free: 2.215 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3216, allocations: 4 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.3216, allocations: 0 / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.3217, allocations: 3.938 kB / 1.179 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.3217, allocations: 11.98 kB / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.3218, allocations: 0 / 1.179 GB, free: 2.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.107e-05/0.3218, allocations: 12.02 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.3218, allocations: 3.938 kB / 1.179 GB, free: 2.18 MB / 0.92 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 8.439e-05/0.3219, allocations: 109.8 kB / 1.179 GB, free: 2.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3219, allocations: 4 kB / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3222, allocations: 72.72 kB / 1.179 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3222, allocations: 0 / 1.179 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3222, allocations: 4.031 kB / 1.179 GB, free: 1.977 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.3222, allocations: 3.984 kB / 1.179 GB, free: 1.973 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001921/0.3224, allocations: 161.6 kB / 1.18 GB, free: 1.766 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3224, allocations: 4 kB / 1.18 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.3225, allocations: 7.984 kB / 1.18 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.3225, allocations: 0 / 1.18 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.3225, allocations: 0 / 1.18 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3225, allocations: 4 kB / 1.18 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3225, allocations: 0 / 1.18 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000291/0.3228, allocations: 167.4 kB / 1.18 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.3229, allocations: 85.06 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.3229, allocations: 0 / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.066e-05/0.323, allocations: 7.984 kB / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.323, allocations: 192 / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.323, allocations: 0 / 1.18 GB, free: 1.461 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.659e-05/0.3231, allocations: 91.3 kB / 1.18 GB, free: 1.371 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3231, allocations: 3.938 kB / 1.18 GB, free: 1.367 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002129/0.3233, allocations: 4 kB / 1.18 GB, free: 1.363 MB / 0.92 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.0001397/0.3235, allocations: 103.2 kB / 1.18 GB, free: 1.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.3237, allocations: 35.91 kB / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3237, allocations: 0 / 1.18 GB, free: 1.215 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.097e-05/0.3238, allocations: 28.03 kB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.3241, allocations: 7.938 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002715/0.3244, allocations: 119.2 kB / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.3247, allocations: 0.6768 MB / 1.181 GB, free: 336 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.3248, allocations: 7.438 kB / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of SimCode: time 2.4e-07/0.3248, allocations: 0 / 1.181 GB, free: 328 kB / 0.92 GB Notification: Performance of Templates: time 0.002106/0.3269, allocations: 0.5509 MB / 1.181 GB, free: 15.77 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.232995547936298]