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.001967/0.001967, allocations: 93.47 kB / 19.44 MB, free: 340 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.002561/0.002561, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.629/1.629, allocations: 177.1 MB / 203.1 MB, free: 5.605 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.371/3.371, allocations: 429.5 MB / 0.6729 GB, free: 4.004 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 2.715e-06/2.715e-06, allocations: 0 / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.058e-05/4.329e-05, allocations: 4.516 kB / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002822/0.002865, allocations: 0.7179 MB / 0.8782 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.004206, allocations: 0.8256 MB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.987e-05/0.004256, allocations: 4 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.204e-05/0.004288, allocations: 4.625 kB / 0.879 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.524e-05/0.004383, allocations: 11.56 kB / 0.879 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.127e-05/0.004464, allocations: 11.98 kB / 0.8791 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.004578, allocations: 44.94 kB / 0.8791 GB, free: 4.984 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.004694, allocations: 8 kB / 0.8791 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.004803, allocations: 19.92 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.414e-05/0.004857, allocations: 21 kB / 0.8791 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.00488, allocations: 4 kB / 0.8791 GB, free: 4.934 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.227e-05/0.004892, allocations: 4.594 kB / 0.8791 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.465e-05/0.004917, allocations: 11.92 kB / 0.8792 GB, free: 4.918 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.004953, allocations: 12.83 kB / 0.8792 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.005069, allocations: 39.88 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.005072, allocations: 1.125 kB / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005073, allocations: 0 / 0.8792 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.005078, allocations: 0 / 0.8792 GB, free: 4.867 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.0006278/0.005706, allocations: 385 kB / 0.8796 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.005749, allocations: 8.031 kB / 0.8796 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.005798, allocations: 6.031 kB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005944, allocations: 120.5 kB / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.005958, allocations: 384 / 0.8797 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.005973, allocations: 5.031 kB / 0.8797 GB, free: 4.293 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.006183, allocations: 60.05 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.006192, allocations: 192 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.006203, allocations: 384 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006208, allocations: 384 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.006391, allocations: 47.53 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.006857, allocations: 267.8 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.007026, allocations: 55.05 kB / 0.8801 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.007141, allocations: 39.73 kB / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.007158, allocations: 0 / 0.8802 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.007196, allocations: 33.39 kB / 0.8802 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.007197, allocations: 0 / 0.8802 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004389/0.007636, allocations: 106.4 kB / 0.8803 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.007686, allocations: 52.47 kB / 0.8803 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.007835, allocations: 173.9 kB / 0.8805 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.007855, allocations: 26.83 kB / 0.8805 GB, free: 3.348 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.007958, allocations: 138.9 kB / 0.8807 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.007982, allocations: 11.84 kB / 0.8807 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.244e-05/0.008035, allocations: 24.28 kB / 0.8807 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002632/0.008298, allocations: 492.1 kB / 0.8812 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.008404, allocations: 24.73 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.617e-05/0.00849, allocations: 23.97 kB / 0.8812 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.008661, allocations: 55.25 kB / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008663, allocations: 0 / 0.8813 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002226/0.008885, allocations: 73.61 kB / 0.8813 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.008903, allocations: 7.938 kB / 0.8813 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.008911, allocations: 4 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.008926, allocations: 0 / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.009028, allocations: 12.61 kB / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009033, allocations: 0 / 0.8814 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.665e-05/0.00908, allocations: 4.594 kB / 0.8814 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.009087, allocations: 0.7188 kB / 0.8814 GB, free: 2.465 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 0.0001233/0.00921, allocations: 164.6 kB / 0.8815 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.218e-05/0.009242, allocations: 8.891 kB / 0.8815 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.563e-05/0.009288, allocations: 11.94 kB / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.00929, allocations: 1.531 kB / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.009294, allocations: 0 / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.009296, allocations: 0 / 0.8815 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.009472, allocations: 124.6 kB / 0.8817 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.009473, allocations: 4 kB / 0.8817 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.009546, allocations: 15.92 kB / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.009549, allocations: 0 / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.009557, allocations: 0 / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.009561, allocations: 3.938 kB / 0.8817 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.009563, allocations: 4 kB / 0.8817 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.009894, allocations: 223.9 kB / 0.8819 GB, free: 1.852 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.009911, allocations: 3.953 kB / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.009924, allocations: 0 / 0.8819 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.01, allocations: 12.31 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.01005, allocations: 7.984 kB / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.01006, allocations: 0 / 0.8819 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.831e-05/0.01014, allocations: 135.2 kB / 0.8821 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01014, allocations: 0 / 0.8821 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002169/0.01036, allocations: 4 kB / 0.8821 GB, free: 1.691 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.0001477/0.01051, allocations: 99.25 kB / 0.8822 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.01077, allocations: 55.58 kB / 0.8822 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01077, allocations: 7.938 kB / 0.8822 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.01088, allocations: 39.66 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01117, allocations: 6.5 kB / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/0.01159, allocations: 134.3 kB / 0.8824 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.785e-05/0.01168, allocations: 71.14 kB / 0.8825 GB, free: 1.219 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.71e-05/0.01172, allocations: 7.984 kB / 0.8825 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.289e-05/0.01176, allocations: 12.5 kB / 0.8825 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/0.01176, allocations: 3.938 kB / 0.8825 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of Templates: time 0.003911/0.01567, allocations: 0.7333 MB / 0.8832 GB, free: 492 kB / 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] 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.588815491995774]