Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 88.72 kB / 19.44 MB, free: 352 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002405/0.002405, allocations: 157.7 kB / 22.76 MB, free: 1.676 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 177.2 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.307/3.307, allocations: 429.6 MB / 0.673 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 0.9844 kB / 0.8777 GB, free: 6.387 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.328e-05, allocations: 4.984 kB / 0.8777 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002187/0.00222, allocations: 0.7016 MB / 0.8784 GB, free: 5.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.003554, allocations: 0.83 MB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.618e-05/0.0036, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.037e-05/0.00364, allocations: 3.938 kB / 0.8792 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.629e-05/0.003727, allocations: 11.03 kB / 0.8792 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 7.199e-05/0.003799, allocations: 7.984 kB / 0.8792 GB, free: 4.848 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.003909, allocations: 47.84 kB / 0.8792 GB, free: 4.801 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.004014, allocations: 12.58 kB / 0.8792 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.00413, allocations: 31.66 kB / 0.8793 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.524e-05/0.004175, allocations: 15.98 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.004193, allocations: 3.938 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-06/0.004201, allocations: 4 kB / 0.8793 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.004223, allocations: 8 kB / 0.8793 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.004259, allocations: 11.98 kB / 0.8793 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.00437, allocations: 43.86 kB / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.004372, allocations: 0 / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.72e-07/0.004373, allocations: 0 / 0.8794 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.004378, allocations: 0 / 0.8794 GB, free: 4.676 MB / 0.8386 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.0006281/0.005006, allocations: 292.1 kB / 0.8796 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.005048, allocations: 8.031 kB / 0.8796 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.005095, allocations: 4.938 kB / 0.8797 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005236, allocations: 109.8 kB / 0.8798 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.005254, allocations: 5.312 kB / 0.8798 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.005267, allocations: 4.375 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.00556, allocations: 75.27 kB / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.005569, allocations: 192 / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.005579, allocations: 1.5 kB / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005584, allocations: 384 / 0.8798 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003088/0.005893, allocations: 65.97 kB / 0.8799 GB, free: 4.066 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/0.006291, allocations: 208.6 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.006525, allocations: 52.89 kB / 0.8802 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.006704, allocations: 44.91 kB / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.006718, allocations: 0 / 0.8802 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.00676, allocations: 40.69 kB / 0.8802 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.006761, allocations: 0 / 0.8802 GB, free: 3.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0006995/0.00746, allocations: 134.2 kB / 0.8804 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.812e-05/0.007508, allocations: 53.06 kB / 0.8804 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.007626, allocations: 109.8 kB / 0.8805 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.007647, allocations: 33.58 kB / 0.8805 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.643e-05/0.007713, allocations: 84.14 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.007744, allocations: 20.34 kB / 0.8806 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.00779, allocations: 9.719 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.00797, allocations: 324 kB / 0.881 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.00812, allocations: 25.56 kB / 0.881 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.00826, allocations: 31.95 kB / 0.881 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.008555, allocations: 69.08 kB / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.008556, allocations: 0 / 0.8811 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003464/0.008903, allocations: 105.6 kB / 0.8812 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.008924, allocations: 11.94 kB / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.008929, allocations: 0 / 0.8812 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.00895, allocations: 4 kB / 0.8812 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.009081, allocations: 15.92 kB / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.009086, allocations: 0 / 0.8812 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.009165, allocations: 11.98 kB / 0.8812 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.009172, allocations: 0 / 0.8812 GB, free: 2.602 MB / 0.8386 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.651e-05/0.009268, allocations: 113.8 kB / 0.8813 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.009302, allocations: 7.953 kB / 0.8813 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.009329, allocations: 11.92 kB / 0.8814 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.009331, allocations: 4 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.009335, allocations: 0 / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.009338, allocations: 0 / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.0095, allocations: 113.3 kB / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.009502, allocations: 0 / 0.8815 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.009605, allocations: 15.98 kB / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.009608, allocations: 0 / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.009615, allocations: 0 / 0.8815 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.009619, allocations: 3.938 kB / 0.8815 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.00962, allocations: 0 / 0.8815 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004137/0.01003, allocations: 199.4 kB / 0.8817 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.277e-05/0.01005, allocations: 3.953 kB / 0.8817 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.01006, allocations: 8 kB / 0.8817 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.01018, allocations: 11.92 kB / 0.8817 GB, free: 2.062 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.873e-05/0.01023, allocations: 7.984 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.01023, allocations: 0 / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.979e-05/0.01031, allocations: 95.52 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9e-08/0.01031, allocations: 4 kB / 0.8818 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002255/0.01053, allocations: 7.984 kB / 0.8818 GB, free: 1.949 MB / 0.8386 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.0001377/0.01067, allocations: 91.25 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003608/0.01103, allocations: 67.92 kB / 0.882 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01103, allocations: 0 / 0.882 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.0112, allocations: 39.91 kB / 0.882 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.01155, allocations: 11.98 kB / 0.882 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004078/0.01196, allocations: 127.1 kB / 0.8821 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.3e-05/0.01206, allocations: 71.14 kB / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.097e-05/0.01209, allocations: 0 / 0.8822 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.01213, allocations: 20.5 kB / 0.8822 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of SimCode: time 3.8e-07/0.01213, allocations: 0 / 0.8822 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of Templates: time 0.003787/0.01592, allocations: 0.7504 MB / 0.883 GB, free: 0.7422 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.429885201039724]