Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 197.7 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.345/2.345, allocations: 390.2 MB / 0.6649 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001513/0.001513, allocations: 71.89 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7997, allocations: 140.3 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002742/0.8025, allocations: 1.023 MB / 0.9506 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.8047, allocations: 1.497 MB / 0.9521 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.406e-05/0.8047, allocations: 5.344 kB / 0.9521 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.897e-05/0.8048, allocations: 7.875 kB / 0.9521 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001504/0.805, allocations: 45.06 kB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.806, allocations: 410.7 kB / 0.9525 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.8064, allocations: 422.3 kB / 0.9529 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001799/0.8066, allocations: 49.7 kB / 0.953 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.8068, allocations: 152.1 kB / 0.9531 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.807, allocations: 125.7 kB / 0.9532 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.123e-05/0.8071, allocations: 19.94 kB / 0.9532 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.8072, allocations: 30.56 kB / 0.9533 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.8073, allocations: 36.06 kB / 0.9533 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.8075, allocations: 137.3 kB / 0.9534 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.8079, allocations: 377.6 kB / 0.9538 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.8079, allocations: 1.094 kB / 0.9538 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8079, allocations: 0 / 0.9538 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8079, allocations: 0 / 0.9538 GB, free: 6.055 MB / 0.7169 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.000795/0.8087, allocations: 0.642 MB / 0.9544 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.8088, allocations: 9 kB / 0.9544 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001536/0.8089, allocations: 35.84 kB / 0.9545 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.8091, allocations: 218.7 kB / 0.9547 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.8092, allocations: 18.66 kB / 0.9547 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.758e-05/0.8093, allocations: 22.81 kB / 0.9547 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.8095, allocations: 131.5 kB / 0.9548 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.8095, allocations: 0 / 0.9548 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.8096, allocations: 1.219 kB / 0.9548 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.8096, allocations: 14.02 kB / 0.9549 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001488/0.8097, allocations: 53.92 kB / 0.9549 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.8108, allocations: 0.8724 MB / 0.9558 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.811, allocations: 119.5 kB / 0.9559 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.599e-05/0.8111, allocations: 50.45 kB / 0.9559 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.8111, allocations: 2.062 kB / 0.9559 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.8115, allocations: 175.2 kB / 0.9561 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.8115, allocations: 0 / 0.9561 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.00062/0.8122, allocations: 228.3 kB / 0.9563 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.8122, allocations: 145.6 kB / 0.9565 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.8125, allocations: 233.2 kB / 0.9567 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.878e-05/0.8126, allocations: 42.89 kB / 0.9567 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.8127, allocations: 133.3 kB / 0.9568 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.8127, allocations: 33.27 kB / 0.9569 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002408/0.813, allocations: 100 kB / 0.957 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.8131, allocations: 327.8 kB / 0.9573 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004181/0.8135, allocations: 146.8 kB / 0.9574 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003538/0.8139, allocations: 225.3 kB / 0.9576 GB, free: 2.586 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.8143, allocations: 368.4 kB / 0.958 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.8143, allocations: 0 / 0.958 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008736/0.8151, allocations: 0.5541 MB / 0.9585 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.976e-05/0.8152, allocations: 134.3 kB / 0.9587 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.8152, allocations: 2.188 kB / 0.9587 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8153, allocations: 12.33 kB / 0.9587 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.8154, allocations: 9.219 kB / 0.9587 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.8154, allocations: 12 kB / 0.9587 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007134/0.8161, allocations: 120.4 kB / 0.9588 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.8162, allocations: 25.86 kB / 0.9588 GB, free: 1.676 MB / 0.7169 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.0001461/0.8163, allocations: 147.8 kB / 0.959 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.8164, allocations: 17.58 kB / 0.959 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.8164, allocations: 30.72 kB / 0.959 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.8164, allocations: 2.75 kB / 0.959 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.8164, allocations: 5.312 kB / 0.959 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.8164, allocations: 1.375 kB / 0.959 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.8166, allocations: 260 kB / 0.9593 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8166, allocations: 1.375 kB / 0.9593 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/0.8167, allocations: 11.95 kB / 0.9593 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.8167, allocations: 1.344 kB / 0.9593 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.8167, allocations: 10.66 kB / 0.9593 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8167, allocations: 1.844 kB / 0.9593 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8167, allocations: 10.06 kB / 0.9593 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.817, allocations: 216.3 kB / 0.9595 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.8171, allocations: 95.7 kB / 0.9596 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.8171, allocations: 10.2 kB / 0.9596 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.163e-05/0.8171, allocations: 1.125 kB / 0.9596 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.8172, allocations: 23.8 kB / 0.9596 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.8172, allocations: 5.938 kB / 0.9596 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000139/0.8174, allocations: 169.7 kB / 0.9598 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8174, allocations: 0 / 0.9598 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003623/0.8177, allocations: 67.78 kB / 0.9599 GB, free: 0.8047 MB / 0.7169 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.0001511/0.8179, allocations: 113.9 kB / 0.96 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0006518/0.8186, allocations: 0.5285 MB / 0.9605 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.8186, allocations: 0 / 0.9605 GB, free: 300 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.8187, allocations: 82.89 kB / 0.9606 GB, free: 264 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.8192, allocations: 59.25 kB / 0.9606 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007293/0.8199, allocations: 416 kB / 0.961 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.8203, allocations: 0.734 MB / 0.9617 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.8203, allocations: 17.81 kB / 0.9618 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of SimCode: time 5.01e-07/0.8204, allocations: 1.344 kB / 0.9618 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of Templates: time 0.007095/0.8275, allocations: 3.487 MB / 0.9652 GB, free: 13.36 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches