Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001279/0.001279, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001424/0.001424, allocations: 222.2 kB / 23 MB, free: 4.914 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.237/3.237, allocations: 0.4892 GB / 0.7951 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.00212/0.00212, allocations: 71.8 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3608, allocations: 176.1 MB / 1.326 GB, free: 1.953 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002027/0.3628, allocations: 0.7099 MB / 1.327 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.3643, allocations: 1.155 MB / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3644, allocations: 0 / 1.328 GB, free: 84 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.3644, allocations: 3.938 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.609e-05/0.3645, allocations: 19.86 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00051/0.365, allocations: 130.5 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.3652, allocations: 127.8 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.3653, allocations: 4 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.915e-05/0.3654, allocations: 51.89 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.3655, allocations: 35.83 kB / 1.329 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.3655, allocations: 12 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-05/0.3656, allocations: 31.94 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.43e-05/0.3656, allocations: 15.92 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.221e-05/0.3657, allocations: 35.84 kB / 1.329 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.3659, allocations: 135.6 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3659, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3659, allocations: 4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3659, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 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.0005491/0.3664, allocations: 319.8 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.3665, allocations: 8.031 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.744e-05/0.3665, allocations: 8.891 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3667, allocations: 122.5 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.3667, allocations: 8.312 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.816e-05/0.3667, allocations: 8.312 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.3668, allocations: 42.25 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3668, allocations: 3.938 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3668, allocations: 4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3668, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/0.3669, allocations: 15.98 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.3673, allocations: 248.5 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.44e-05/0.3674, allocations: 38.44 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/0.3674, allocations: 12.92 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.112e-05/0.3674, allocations: 0 / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.3675, allocations: 71.39 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3675, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.3678, allocations: 81.56 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3678, allocations: 55.41 kB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.3679, allocations: 121.8 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.368, allocations: 29.7 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.024e-05/0.368, allocations: 100.1 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.368, allocations: 3.953 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/0.3681, allocations: 33.7 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.3682, allocations: 314.8 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3684, allocations: 69.67 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3685, allocations: 92.25 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.3686, allocations: 92.22 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.3686, allocations: 3.938 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003025/0.3689, allocations: 200.9 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.369, allocations: 33.7 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.369, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.369, allocations: 0 / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-05/0.369, allocations: 11.98 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.369, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.3692, allocations: 28.03 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.3692, allocations: 7.938 kB / 1.331 GB, free: 13.11 MB / 1.029 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 0.0001023/0.3693, allocations: 125.7 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.3694, allocations: 11.89 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.892e-05/0.3694, allocations: 7.984 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3694, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.3694, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3694, allocations: 240 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.3695, allocations: 121.2 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3695, allocations: 0 / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.404e-05/0.3695, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.3695, allocations: 7.984 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.3695, allocations: 3.984 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3695, allocations: 0 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3695, allocations: 4.062 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.3697, allocations: 89.06 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.3697, allocations: 7.891 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.048e-05/0.3697, allocations: 11.98 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.82e-05/0.3697, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.813e-05/0.3697, allocations: 0 / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.3698, allocations: 7.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.795e-05/0.3698, allocations: 103.3 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3698, allocations: 0 / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002109/0.37, allocations: 16 kB / 1.331 GB, free: 12.53 MB / 1.029 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.0001495/0.3702, allocations: 103.2 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002553/0.3704, allocations: 149.1 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3704, allocations: 0 / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.651e-05/0.3705, allocations: 23.92 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3707, allocations: 25.84 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003395/0.3711, allocations: 159.8 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.261e-05/0.3711, allocations: 71.33 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.158e-05/0.3711, allocations: 11.38 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3711, allocations: 0 / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of Templates: time 0.002993/0.3741, allocations: 1.182 MB / 1.333 GB, free: 10.74 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.097353947814554]