Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.002644/0.002644, allocations: 109 kB / 18.93 MB, free: 2.945 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.00209/0.00209, allocations: 191.6 kB / 22.23 MB, free: 5.16 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.482/1.482, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 443.5 MB / 0.7321 GB, free: 12.24 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002267/0.002267, allocations: 63.91 kB / 1.062 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049/1.052, allocations: 160.8 MB / 1.219 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002515/1.054, allocations: 0.7112 MB / 1.219 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0012/1.055, allocations: 0.8065 MB / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/1.056, allocations: 0 / 1.22 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.77e-05/1.056, allocations: 5.469 kB / 1.22 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.763e-05/1.056, allocations: 3.938 kB / 1.22 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 6.576e-05/1.056, allocations: 9.734 kB / 1.22 GB, free: 2.414 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/1.056, allocations: 48.62 kB / 1.22 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/1.056, allocations: 15.61 kB / 1.22 GB, free: 2.371 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/1.056, allocations: 14.67 kB / 1.22 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.567e-05/1.056, allocations: 25.06 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.281e-05/1.056, allocations: 3.688 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/1.056, allocations: 7.719 kB / 1.22 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/1.056, allocations: 9.062 kB / 1.22 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.898e-05/1.056, allocations: 15.52 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/1.056, allocations: 43.16 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/1.056, allocations: 4 kB / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.364e-06/1.056, allocations: 0 / 1.22 GB, free: 2.285 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.43e-05/1.056, allocations: 0 / 1.22 GB, free: 2.285 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006689/1.057, allocations: 361.8 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.057, allocations: 14.31 kB / 1.221 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/1.057, allocations: 6.422 kB / 1.221 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001938/1.057, allocations: 170.7 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/1.057, allocations: 1.469 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/1.057, allocations: 2.656 kB / 1.221 GB, free: 1.695 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/1.058, allocations: 72.12 kB / 1.221 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/1.058, allocations: 4.172 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/1.058, allocations: 3.938 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/1.058, allocations: 4.906 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002875/1.058, allocations: 63.08 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/1.059, allocations: 266.3 kB / 1.221 GB, free: 1.305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/1.059, allocations: 64.08 kB / 1.221 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/1.059, allocations: 41.88 kB / 1.221 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/1.059, allocations: 0 / 1.221 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.059, allocations: 31.78 kB / 1.221 GB, free: 1.191 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/1.059, allocations: 0 / 1.221 GB, free: 1.191 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005267/1.06, allocations: 129.7 kB / 1.221 GB, free: 1.113 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/1.06, allocations: 52.66 kB / 1.221 GB, free: 1.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.06, allocations: 114.5 kB / 1.222 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/1.06, allocations: 30.48 kB / 1.222 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.273e-05/1.06, allocations: 86.42 kB / 1.222 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/1.06, allocations: 12.78 kB / 1.222 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/1.06, allocations: 16.84 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001714/1.06, allocations: 320.1 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/1.06, allocations: 28.84 kB / 1.222 GB, free: 464 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/1.06, allocations: 33.55 kB / 1.222 GB, free: 448 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/1.06, allocations: 71.2 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/1.06, allocations: 3.938 kB / 1.222 GB, free: 404 kB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002916/1.061, allocations: 97.42 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/1.061, allocations: 5.688 kB / 1.222 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/1.061, allocations: 7.875 kB / 1.222 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.061, allocations: 5.219 kB / 1.222 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/1.061, allocations: 13.39 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.061, allocations: 1.094 kB / 1.222 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.198e-05/1.061, allocations: 11.2 kB / 1.222 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/1.061, allocations: 0 / 1.222 GB, free: 320 kB / 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 (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.62e-05/1.061, allocations: 123.9 kB / 1.222 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/1.061, allocations: 9.938 kB / 1.222 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/1.061, allocations: 9 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.061, allocations: 1.062 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.061, allocations: 1.094 kB / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/1.061, allocations: 0 / 1.222 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/1.061, allocations: 169.4 kB / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/1.061, allocations: 0 / 1.223 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/1.062, allocations: 18.17 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/1.062, allocations: 1.312 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/1.062, allocations: 0 / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.062, allocations: 1.312 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.062, allocations: 4.312 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003552/1.062, allocations: 199.7 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.932e-05/1.062, allocations: 82.22 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/1.062, allocations: 5.078 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/1.062, allocations: 14.23 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/1.062, allocations: 6.156 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/1.062, allocations: 0.9688 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.135e-05/1.062, allocations: 93.62 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002129/1.062, allocations: 6.156 kB / 1.223 GB, free: 15.57 MB / 0.9356 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.0001312/1.063, allocations: 94.56 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003377/1.063, allocations: 69.42 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.063, allocations: 0 / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/1.063, allocations: 44.48 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/1.063, allocations: 7.625 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003943/1.064, allocations: 132.9 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/1.064, allocations: 0.683 MB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.344e-05/1.064, allocations: 4.844 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/1.064, allocations: 9.719 kB / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/1.064, allocations: 0 / 1.224 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of Templates: time 0.003446/1.068, allocations: 0.695 MB / 1.225 GB, free: 14.23 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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: 9.138414597138762]