Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001473/0.001473, allocations: 107.4 kB / 15.99 MB, free: 6.359 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.001467/0.001467, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.36/1.36, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.584/2.584, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 58.94 kB / 0.9087 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2883, allocations: 159.2 MB / 1.064 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002327/0.2907, allocations: 1.015 MB / 1.065 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.2926, allocations: 1.443 MB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.2927, allocations: 0 / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.2927, allocations: 3.938 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.2929, allocations: 43.62 kB / 1.067 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.294, allocations: 417.1 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0005991/0.2946, allocations: 0.5147 MB / 1.068 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2947, allocations: 41.67 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002534/0.295, allocations: 183.6 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.2952, allocations: 135.5 kB / 1.068 GB, free: 11.29 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/0.2953, allocations: 52 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.2954, allocations: 63.92 kB / 1.068 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.2955, allocations: 35.84 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002026/0.2957, allocations: 175.4 kB / 1.068 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.2961, allocations: 387.3 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2961, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2961, allocations: 0 / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.2961, allocations: 4 kB / 1.069 GB, free: 10.58 MB / 0.8419 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.0008908/0.297, allocations: 0.6339 MB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.297, allocations: 8.625 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.2972, allocations: 28.75 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2974, allocations: 223 kB / 1.069 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.2974, allocations: 16.38 kB / 1.069 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.399e-05/0.2975, allocations: 16.38 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.2977, allocations: 125.6 kB / 1.07 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2977, allocations: 192 / 1.07 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2977, allocations: 11.94 kB / 1.07 GB, free: 9.395 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.2977, allocations: 3.984 kB / 1.07 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2978, allocations: 55.91 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.2988, allocations: 0.8795 MB / 1.07 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.299, allocations: 118.4 kB / 1.071 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.571e-05/0.2991, allocations: 55.42 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2991, allocations: 0 / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000266/0.2994, allocations: 172.1 kB / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.2994, allocations: 0 / 1.071 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.0004502/0.2999, allocations: 225.4 kB / 1.071 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.583e-05/0.3, allocations: 136.5 kB / 1.071 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.3002, allocations: 248.9 kB / 1.071 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/0.3003, allocations: 37.7 kB / 1.071 GB, free: 7.301 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3004, allocations: 128.4 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.3004, allocations: 35.61 kB / 1.072 GB, free: 7.137 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001688/0.3006, allocations: 85.66 kB / 1.072 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3008, allocations: 338.8 kB / 1.072 GB, free: 6.707 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003033/0.3011, allocations: 144.2 kB / 1.072 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.3014, allocations: 232.2 kB / 1.072 GB, free: 6.301 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000453/0.3019, allocations: 368.9 kB / 1.073 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3019, allocations: 0 / 1.073 GB, free: 5.879 MB / 0.8419 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009303/0.3028, allocations: 0.5584 MB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.591e-05/0.3029, allocations: 130.8 kB / 1.073 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.303, allocations: 8 kB / 1.073 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.303, allocations: 4 kB / 1.073 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.3031, allocations: 15.92 kB / 1.073 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3031, allocations: 4 kB / 1.073 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006779/0.3038, allocations: 123.8 kB / 1.074 GB, free: 4.984 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.3038, allocations: 27.98 kB / 1.074 GB, free: 4.957 MB / 0.8419 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.0001717/0.304, allocations: 160.5 kB / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.2e-05/0.304, allocations: 23.72 kB / 1.074 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.547e-05/0.3041, allocations: 25.23 kB / 1.074 GB, free: 4.734 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3041, allocations: 4 kB / 1.074 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3041, allocations: 0 / 1.074 GB, free: 4.73 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.3041, allocations: 8.875 kB / 1.074 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.3044, allocations: 253.5 kB / 1.074 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3044, allocations: 4 kB / 1.074 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.3044, allocations: 15.92 kB / 1.074 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3044, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3045, allocations: 4 kB / 1.074 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3045, allocations: 0 / 1.074 GB, free: 4.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3045, allocations: 8 kB / 1.074 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3048, allocations: 219.3 kB / 1.074 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.743e-05/0.3048, allocations: 100.8 kB / 1.074 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.3049, allocations: 3.984 kB / 1.074 GB, free: 4.031 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.169e-05/0.3049, allocations: 8 kB / 1.074 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.981e-05/0.305, allocations: 23.86 kB / 1.074 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.305, allocations: 8 kB / 1.074 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001608/0.3052, allocations: 168.5 kB / 1.075 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3052, allocations: 0 / 1.075 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003171/0.3055, allocations: 64 kB / 1.075 GB, free: 3.766 MB / 0.8419 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.0001579/0.3057, allocations: 119.2 kB / 1.075 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000711/0.3064, allocations: 0.5354 MB / 1.075 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3064, allocations: 0 / 1.075 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.3065, allocations: 83.91 kB / 1.075 GB, free: 2.977 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.307, allocations: 68.81 kB / 1.075 GB, free: 2.91 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.3076, allocations: 420.4 kB / 1.076 GB, free: 2.461 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.3079, allocations: 0.732 MB / 1.076 GB, free: 1.703 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.319e-05/0.308, allocations: 19.44 kB / 1.077 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.308, allocations: 0 / 1.077 GB, free: 1.684 MB / 0.8419 GB Notification: Performance of Templates: time 0.3979/0.7059, allocations: 3.468 MB / 1.08 GB, free: 21.18 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches