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.001293/0.001293, allocations: 113.4 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 61.7 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2931, allocations: 140.4 MB / 0.9512 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002193/0.2954, allocations: 0.9633 MB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001643/0.297, allocations: 1.444 MB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.978e-05/0.2971, allocations: 0 / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.512e-05/0.2971, allocations: 15.75 kB / 0.9535 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.2973, allocations: 47.56 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009307/0.2982, allocations: 441.5 kB / 0.954 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004456/0.2987, allocations: 0.5147 MB / 0.9545 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2988, allocations: 41.67 kB / 0.9545 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.299, allocations: 187.5 kB / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001989/0.2992, allocations: 163.4 kB / 0.9549 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.2992, allocations: 48 kB / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.2994, allocations: 59.98 kB / 0.955 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.2995, allocations: 35.86 kB / 0.955 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.2997, allocations: 175.4 kB / 0.9552 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004495/0.3001, allocations: 498.6 kB / 0.9556 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3001, allocations: 0 / 0.9556 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.785e-06/0.3001, allocations: 0 / 0.9556 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.3002, allocations: 7.938 kB / 0.9557 GB, free: 3.395 MB / 0.7325 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.0007264/0.3009, allocations: 0.6301 MB / 0.9563 GB, free: 2.691 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3009, allocations: 11.97 kB / 0.9563 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.001e-05/0.301, allocations: 28.66 kB / 0.9563 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3012, allocations: 231 kB / 0.9565 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.3012, allocations: 16.36 kB / 0.9565 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.3013, allocations: 24.38 kB / 0.9566 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.3015, allocations: 125.1 kB / 0.9567 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3015, allocations: 0 / 0.9567 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3015, allocations: 4 kB / 0.9567 GB, free: 2.207 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3015, allocations: 4 kB / 0.9567 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.85e-05/0.3016, allocations: 51.91 kB / 0.9567 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.3025, allocations: 0.8795 MB / 0.9576 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3026, allocations: 118.4 kB / 0.9577 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.984e-05/0.3027, allocations: 55.48 kB / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3027, allocations: 0 / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/0.303, allocations: 173.3 kB / 0.9579 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 2.655e-06/0.303, allocations: 3.984 kB / 0.9579 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.000414/0.3034, allocations: 233.1 kB / 0.9582 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.543e-05/0.3035, allocations: 136.5 kB / 0.9583 GB, free: 408 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.3037, allocations: 248.8 kB / 0.9585 GB, free: 148 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.3038, allocations: 41.7 kB / 0.9586 GB, free: 100 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.3039, allocations: 128.5 kB / 0.9587 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.3039, allocations: 31.53 kB / 0.9587 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.3041, allocations: 89.61 kB / 0.9588 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3042, allocations: 338.8 kB / 0.9591 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.3045, allocations: 140.2 kB / 0.9593 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002951/0.3048, allocations: 226.6 kB / 0.9595 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004465/0.3052, allocations: 368.9 kB / 0.9598 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3052, allocations: 0 / 0.9598 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009067/0.3061, allocations: 0.5585 MB / 0.9604 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.207e-05/0.3062, allocations: 138.8 kB / 0.9605 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3062, allocations: 0 / 0.9605 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3063, allocations: 4 kB / 0.9605 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.788e-05/0.3063, allocations: 15.98 kB / 0.9605 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.3064, allocations: 11.88 kB / 0.9605 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005639/0.3069, allocations: 111.9 kB / 0.9606 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.307, allocations: 23.98 kB / 0.9607 GB, free: 13.77 MB / 0.7481 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.0002018/0.3072, allocations: 159.7 kB / 0.9608 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.3072, allocations: 15.81 kB / 0.9608 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.3073, allocations: 29.23 kB / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3073, allocations: 0 / 0.9609 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3073, allocations: 7.938 kB / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.3073, allocations: 0 / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002584/0.3076, allocations: 257.4 kB / 0.9611 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3076, allocations: 0 / 0.9611 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.3076, allocations: 15.98 kB / 0.9611 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3076, allocations: 0 / 0.9611 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.3076, allocations: 4 kB / 0.9611 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3076, allocations: 4 kB / 0.9611 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3077, allocations: 7.938 kB / 0.9611 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.3079, allocations: 216.3 kB / 0.9613 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.308, allocations: 100.8 kB / 0.9614 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.308, allocations: 3.984 kB / 0.9614 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.3081, allocations: 8 kB / 0.9615 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3081, allocations: 23.92 kB / 0.9615 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.3082, allocations: 7.984 kB / 0.9615 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001393/0.3083, allocations: 164.5 kB / 0.9616 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3083, allocations: 0 / 0.9616 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003044/0.3086, allocations: 67.98 kB / 0.9617 GB, free: 12.6 MB / 0.7481 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.0001509/0.3088, allocations: 119.1 kB / 0.9618 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0006518/0.3094, allocations: 0.5367 MB / 0.9623 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3095, allocations: 0 / 0.9623 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3096, allocations: 67.86 kB / 0.9624 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.31, allocations: 69.77 kB / 0.9625 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005579/0.3106, allocations: 335 kB / 0.9628 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3109, allocations: 0.7319 MB / 0.9635 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.563e-05/0.3109, allocations: 17.55 kB / 0.9635 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.311, allocations: 27.42 kB / 0.9636 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.311, allocations: 0 / 0.9636 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of Templates: time 0.008039/0.319, allocations: 4.565 MB / 0.968 GB, free: 6.082 MB / 0.7481 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 -s gbode -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