Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.001915/0.001915, allocations: 77.55 kB / 19.76 MB, free: 2.027 MB / 14.72 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.00244/0.00244, allocations: 155.4 kB / 23.01 MB, free: 4.949 MB / 14.72 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 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.112/3.112, allocations: 394.2 MB / 0.6387 GB, free: 11.96 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 63.91 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.127/1.129, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00194/1.131, allocations: 0.7262 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001309/1.132, allocations: 1.147 MB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/1.132, allocations: 1.375 kB / 1.188 GB, free: 14.92 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.944e-05/1.132, allocations: 3.938 kB / 1.188 GB, free: 14.91 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.802e-05/1.132, allocations: 16.17 kB / 1.188 GB, free: 14.9 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/1.133, allocations: 131.8 kB / 1.189 GB, free: 14.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001833/1.133, allocations: 125.9 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.242e-05/1.133, allocations: 21.75 kB / 1.189 GB, free: 14.76 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.132e-05/1.133, allocations: 43.77 kB / 1.189 GB, free: 14.74 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/1.133, allocations: 37.73 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.201e-05/1.133, allocations: 13.16 kB / 1.189 GB, free: 14.73 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 7.756e-05/1.133, allocations: 24.06 kB / 1.189 GB, free: 14.72 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/1.133, allocations: 12.66 kB / 1.189 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 6.29e-05/1.133, allocations: 36 kB / 1.189 GB, free: 14.7 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/1.133, allocations: 133.7 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.133, allocations: 1.094 kB / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.493e-06/1.133, allocations: 0 / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.78e-06/1.133, allocations: 0 / 1.189 GB, free: 14.65 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004478/1.134, allocations: 322.4 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/1.134, allocations: 9.844 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/1.134, allocations: 6.062 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.93e-05/1.134, allocations: 122.1 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/1.134, allocations: 4.375 kB / 1.189 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/1.134, allocations: 8.906 kB / 1.189 GB, free: 14.19 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.664e-05/1.134, allocations: 46.47 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.134, allocations: 0.8906 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/1.134, allocations: 3.938 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/1.134, allocations: 0.9375 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.383e-05/1.134, allocations: 16.52 kB / 1.19 GB, free: 14.14 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/1.135, allocations: 253.2 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 6.59e-05/1.135, allocations: 30.81 kB / 1.19 GB, free: 13.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/1.135, allocations: 16.84 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/1.135, allocations: 1.312 kB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/1.135, allocations: 61.36 kB / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/1.135, allocations: 0 / 1.19 GB, free: 13.81 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0001992/1.135, allocations: 83.95 kB / 1.19 GB, free: 13.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/1.135, allocations: 57.12 kB / 1.19 GB, free: 13.69 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/1.135, allocations: 122 kB / 1.19 GB, free: 13.59 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/1.135, allocations: 31.95 kB / 1.19 GB, free: 13.55 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.068e-05/1.135, allocations: 89.38 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/1.135, allocations: 15.42 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/1.135, allocations: 29.58 kB / 1.19 GB, free: 13.43 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.651e-05/1.135, allocations: 323.6 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/1.135, allocations: 66.78 kB / 1.191 GB, free: 13.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-05/1.136, allocations: 89.72 kB / 1.191 GB, free: 12.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/1.136, allocations: 91.83 kB / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.136, allocations: 0 / 1.191 GB, free: 12.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002637/1.136, allocations: 203.5 kB / 1.191 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/1.136, allocations: 38.44 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.136, allocations: 6.156 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.136, allocations: 1.406 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.941e-05/1.136, allocations: 2.062 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.136, allocations: 1.953 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001931/1.136, allocations: 28.97 kB / 1.191 GB, free: 12.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/1.136, allocations: 10.09 kB / 1.191 GB, free: 12.72 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 6.691e-05/1.136, allocations: 124.6 kB / 1.191 GB, free: 12.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.3e-05/1.136, allocations: 7.281 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/1.136, allocations: 6.047 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/1.136, allocations: 1.188 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/1.136, allocations: 0.6562 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/1.136, allocations: 3.938 kB / 1.191 GB, free: 12.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.584e-05/1.136, allocations: 121.2 kB / 1.191 GB, free: 12.45 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/1.136, allocations: 3.938 kB / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.628e-05/1.136, allocations: 3.172 kB / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.136, allocations: 4 kB / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/1.136, allocations: 1.906 kB / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/1.136, allocations: 0 / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.136, allocations: 1.125 kB / 1.191 GB, free: 12.44 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/1.137, allocations: 89.58 kB / 1.191 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.305e-05/1.137, allocations: 11.67 kB / 1.191 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/1.137, allocations: 1.922 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/1.137, allocations: 0 / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/1.137, allocations: 8.641 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/1.137, allocations: 1.406 kB / 1.192 GB, free: 12.35 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.519e-05/1.137, allocations: 94.81 kB / 1.192 GB, free: 12.27 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.137, allocations: 7.938 kB / 1.192 GB, free: 12.26 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002173/1.137, allocations: 24.94 kB / 1.192 GB, free: 12.25 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001238/1.137, allocations: 97.61 kB / 1.192 GB, free: 12.17 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002162/1.137, allocations: 155.9 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.137, allocations: 0 / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 3.595e-05/1.137, allocations: 18.86 kB / 1.192 GB, free: 12.04 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/1.138, allocations: 19.7 kB / 1.192 GB, free: 12.03 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002713/1.138, allocations: 145.2 kB / 1.192 GB, free: 11.9 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.232e-05/1.138, allocations: 68.55 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.372e-05/1.138, allocations: 3.703 kB / 1.192 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/1.138, allocations: 12.47 kB / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/1.138, allocations: 0 / 1.192 GB, free: 11.82 MB / 1.076 GB Notification: Performance of Templates: time 0.004728/1.143, allocations: 1.492 MB / 1.194 GB, free: 11.62 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.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.447812436032109]