Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001131/0.001131, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.00269, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0008628/0.0008628, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009487/0.001811, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9979/0.9979, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09283/1.091, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.847/1.847, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5221/2.369, allocations: 123.3 MB / 0.728 GB, free: 5.82 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.7293 GB, free: 4.543 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.887e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002248/0.002276, allocations: 0.9909 MB / 0.7303 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.004158, allocations: 1.493 MB / 0.7318 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.004239, allocations: 4.656 kB / 0.7318 GB, free: 2.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.123e-05/0.00428, allocations: 16.48 kB / 0.7318 GB, free: 2.051 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001414/0.004422, allocations: 61.36 kB / 0.7318 GB, free: 2.008 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009006/0.005322, allocations: 426.5 kB / 0.7322 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006628/0.005985, allocations: 492.8 kB / 0.7327 GB, free: 1.113 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.006109, allocations: 34.59 kB / 0.7327 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003649/0.006474, allocations: 301.4 kB / 0.733 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.006689, allocations: 135.6 kB / 0.7332 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.12e-05/0.00676, allocations: 52.5 kB / 0.7332 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.006891, allocations: 64.45 kB / 0.7333 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.006926, allocations: 23.94 kB / 0.7333 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.007055, allocations: 105.6 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.00741, allocations: 279.3 kB / 0.7337 GB, free: 140 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.886e-05/0.007429, allocations: 4 kB / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.463e-06/0.00743, allocations: 0 / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.007451, allocations: 0.8125 kB / 0.7337 GB, free: 136 kB / 0.698 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.0008186/0.00827, allocations: 0.5725 MB / 0.7342 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.008304, allocations: 8.938 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.008383, allocations: 32.91 kB / 0.7343 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.008531, allocations: 153 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.008565, allocations: 18.11 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.008614, allocations: 28.31 kB / 0.7345 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.00876, allocations: 106.3 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.008769, allocations: 192 / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.008782, allocations: 8.875 kB / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.008789, allocations: 384 / 0.7346 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.67e-05/0.008845, allocations: 32.94 kB / 0.7346 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/0.009446, allocations: 0.5285 MB / 0.7351 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.00956, allocations: 95.53 kB / 0.7352 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.858e-05/0.009598, allocations: 31.44 kB / 0.7352 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.009607, allocations: 4.656 kB / 0.7352 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.009806, allocations: 159.1 kB / 0.7354 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.009807, allocations: 0.9375 kB / 0.7354 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0002729/0.01008, allocations: 138.2 kB / 0.7355 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.01015, allocations: 132.5 kB / 0.7356 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/0.01047, allocations: 225.5 kB / 0.7359 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.01e-05/0.01051, allocations: 38.52 kB / 0.7359 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/0.01059, allocations: 120.5 kB / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.053e-05/0.01062, allocations: 40.2 kB / 0.7361 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.01074, allocations: 81.62 kB / 0.7361 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01084, allocations: 340 kB / 0.7365 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.01104, allocations: 199 kB / 0.7366 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.01126, allocations: 286.6 kB / 0.7369 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.01153, allocations: 315.8 kB / 0.7372 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.01153, allocations: 5.531 kB / 0.7372 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005347/0.01206, allocations: 0.5154 MB / 0.7377 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.804e-05/0.01216, allocations: 132 kB / 0.7379 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.01217, allocations: 7.984 kB / 0.7379 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.01219, allocations: 7.984 kB / 0.7379 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.967e-05/0.01227, allocations: 20 kB / 0.7379 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.01228, allocations: 9.094 kB / 0.7379 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.01262, allocations: 81.06 kB / 0.738 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.01266, allocations: 25 kB / 0.738 GB, free: 11.21 MB / 0.7136 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.0001263/0.01279, allocations: 141.4 kB / 0.7381 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.01283, allocations: 19.92 kB / 0.7382 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.01287, allocations: 25.33 kB / 0.7382 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01288, allocations: 0 / 0.7382 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.01288, allocations: 4 kB / 0.7382 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.01288, allocations: 1.219 kB / 0.7382 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.01305, allocations: 117.8 kB / 0.7383 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01305, allocations: 3.938 kB / 0.7383 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.01309, allocations: 12.58 kB / 0.7383 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.01312, allocations: 27.73 kB / 0.7383 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01313, allocations: 0.75 kB / 0.7383 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.01314, allocations: 8.75 kB / 0.7383 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.01314, allocations: 3.984 kB / 0.7383 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.01314, allocations: 4.812 kB / 0.7384 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.01331, allocations: 141.5 kB / 0.7385 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.01333, allocations: 3.938 kB / 0.7385 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.155e-05/0.01338, allocations: 13.36 kB / 0.7385 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.01341, allocations: 7.984 kB / 0.7385 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.01343, allocations: 11.98 kB / 0.7385 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.387e-05/0.0135, allocations: 73.22 kB / 0.7386 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.0135, allocations: 0 / 0.7386 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003017/0.0138, allocations: 71.89 kB / 0.7387 GB, free: 10.49 MB / 0.7136 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.0001442/0.01395, allocations: 97.05 kB / 0.7388 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.01431, allocations: 0.5239 MB / 0.7393 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.01432, allocations: 0 / 0.7393 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.514e-05/0.01436, allocations: 48.7 kB / 0.7393 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.01459, allocations: 80.77 kB / 0.7394 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.01521, allocations: 339.8 kB / 0.7397 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.971e-05/0.01525, allocations: 75.98 kB / 0.7398 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.68e-05/0.01531, allocations: 24.5 kB / 0.7398 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001806/0.01549, allocations: 123.3 kB / 0.7399 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/0.01549, allocations: 0 / 0.7399 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of Templates: time 0.006833/0.02232, allocations: 5.69 MB / 0.7455 GB, free: 3.645 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.098689015954733]