Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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.0008037/0.0008037, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007816/0.0007816, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8664/0.8664, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.784/1.784, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.655e-06/2.655e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.675e-05, allocations: 10.22 kB / 1.001 GB, free: 12.98 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001383/0.001409, allocations: 0.9005 MB / 1.002 GB, free: 12.08 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.002702, allocations: 1.471 MB / 1.003 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.00276, allocations: 4 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.002798, allocations: 23.67 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.00291, allocations: 63.5 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006744/0.003585, allocations: 448.3 kB / 1.004 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.003919, allocations: 495 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.004035, allocations: 33.89 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.004369, allocations: 271.5 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.004521, allocations: 123.7 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.004569, allocations: 48 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.063e-05/0.00465, allocations: 67.97 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.288e-05/0.004683, allocations: 39.78 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.95e-05/0.004782, allocations: 139.8 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.005174, allocations: 0.5572 MB / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.005177, allocations: 0 / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.393e-06/0.005178, allocations: 0 / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.005183, allocations: 0 / 1.005 GB, free: 8.328 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005613/0.005744, allocations: 0.5547 MB / 1.006 GB, free: 7.715 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.00578, allocations: 17.28 kB / 1.006 GB, free: 7.699 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.702e-05/0.005847, allocations: 36.73 kB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.005973, allocations: 168.9 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.005994, allocations: 12.38 kB / 1.006 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.006031, allocations: 24.38 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.006177, allocations: 129.5 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.006185, allocations: 192 / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.006197, allocations: 4.375 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.006202, allocations: 384 / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.006285, allocations: 63.84 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.006868, allocations: 0.7078 MB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.006985, allocations: 114.4 kB / 1.007 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.009e-05/0.007035, allocations: 55.48 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.007045, allocations: 0 / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001989/0.007244, allocations: 178.5 kB / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.007245, allocations: 0 / 1.007 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0003323/0.007578, allocations: 234 kB / 1.008 GB, free: 5.832 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.00763, allocations: 132.5 kB / 1.008 GB, free: 5.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001654/0.007795, allocations: 245.7 kB / 1.008 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.00783, allocations: 41.64 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 8.303e-05/0.007913, allocations: 136.5 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-05/0.007936, allocations: 35.69 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.008041, allocations: 101.6 kB / 1.008 GB, free: 5.094 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.856e-05/0.008119, allocations: 326.8 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.008364, allocations: 271 kB / 1.009 GB, free: 4.473 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002612/0.008625, allocations: 357.5 kB / 1.009 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.008917, allocations: 376.8 kB / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.00892, allocations: 0 / 1.01 GB, free: 3.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006184/0.009538, allocations: 0.6827 MB / 1.01 GB, free: 2.895 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.478e-05/0.009603, allocations: 138.8 kB / 1.01 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.009608, allocations: 0 / 1.01 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.009623, allocations: 7.984 kB / 1.01 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.009684, allocations: 12.25 kB / 1.01 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.009692, allocations: 19.91 kB / 1.01 GB, free: 2.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/0.01002, allocations: 107.8 kB / 1.011 GB, free: 2.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.01005, allocations: 23.98 kB / 1.011 GB, free: 2.566 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001054/0.01015, allocations: 158.6 kB / 1.011 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.01017, allocations: 19.86 kB / 1.011 GB, free: 2.383 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.0102, allocations: 17.34 kB / 1.011 GB, free: 2.363 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.01021, allocations: 4 kB / 1.011 GB, free: 2.359 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.01021, allocations: 7.984 kB / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.01022, allocations: 0 / 1.011 GB, free: 2.352 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.01034, allocations: 181.2 kB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01034, allocations: 3.984 kB / 1.011 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.385e-05/0.01037, allocations: 8 kB / 1.011 GB, free: 2.133 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01037, allocations: 4 kB / 1.011 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.01038, allocations: 8 kB / 1.011 GB, free: 2.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.01038, allocations: 4 kB / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01038, allocations: 4 kB / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.01071, allocations: 225.9 kB / 1.011 GB, free: 1.867 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.01073, allocations: 23.84 kB / 1.011 GB, free: 1.844 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.01075, allocations: 7.938 kB / 1.011 GB, free: 1.836 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.654e-05/0.01078, allocations: 4 kB / 1.011 GB, free: 1.832 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.01082, allocations: 15.97 kB / 1.011 GB, free: 1.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.01083, allocations: 8 kB / 1.011 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 9.593e-05/0.01092, allocations: 169.2 kB / 1.011 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01092, allocations: 4 kB / 1.011 GB, free: 1.645 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000218/0.01114, allocations: 67.94 kB / 1.011 GB, free: 1.578 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001294/0.01127, allocations: 111.2 kB / 1.012 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.01175, allocations: 0.6017 MB / 1.012 GB, free: 0.7852 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01175, allocations: 3.938 kB / 1.012 GB, free: 0.7812 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.902e-05/0.01184, allocations: 76.34 kB / 1.012 GB, free: 0.707 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.01212, allocations: 69.12 kB / 1.012 GB, free: 0.6406 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.01254, allocations: 363.1 kB / 1.013 GB, free: 248 kB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.467e-05/0.0126, allocations: 124.9 kB / 1.013 GB, free: 104 kB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.15e-05/0.01263, allocations: 16.5 kB / 1.013 GB, free: 88 kB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.01263, allocations: 4 kB / 1.013 GB, free: 84 kB / 0.9636 GB Notification: Performance of Templates: time 0.003609/0.01624, allocations: 3.551 MB / 1.016 GB, free: 12.56 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.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: 6.60231616999954]