Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001704/0.001704, allocations: 108 kB / 15.6 MB, free: 132 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.001646/0.001646, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.555/1.555, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.966/2.966, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.003148/0.003148, allocations: 72.08 kB / 0.8693 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.823/0.8262, allocations: 151.6 MB / 1.017 GB, free: 2.621 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002537/0.8288, allocations: 0.9643 MB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002213/0.831, allocations: 1.44 MB / 1.02 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.369e-05/0.8311, allocations: 4 kB / 1.02 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.038e-05/0.8312, allocations: 15.75 kB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.8314, allocations: 47.56 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.8329, allocations: 442.5 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007083/0.8336, allocations: 0.5186 MB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.8338, allocations: 41.66 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.8341, allocations: 179.6 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.8343, allocations: 147.5 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.8344, allocations: 48 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.8346, allocations: 63.98 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.224e-05/0.8347, allocations: 35.84 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.835, allocations: 167.4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006821/0.8357, allocations: 0.4889 MB / 1.022 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.8357, allocations: 4 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8357, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.138e-05/0.8357, allocations: 0 / 1.022 GB, free: 14.02 MB / 0.7794 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.001131/0.8368, allocations: 0.6301 MB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.8369, allocations: 8.031 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.8371, allocations: 32.66 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.8373, allocations: 223 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.8374, allocations: 20.25 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.594e-05/0.8375, allocations: 28.38 kB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.8378, allocations: 115.5 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.8378, allocations: 192 / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.8378, allocations: 7.938 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.8378, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.838, allocations: 51.91 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.8393, allocations: 0.8795 MB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.8396, allocations: 126.4 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.8397, allocations: 51.48 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.8397, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.8401, allocations: 166.7 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.8401, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.000634/0.8408, allocations: 233.8 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.8409, allocations: 136.5 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.8412, allocations: 240.9 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.8413, allocations: 41.64 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.8415, allocations: 136.4 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.8415, allocations: 27.56 kB / 1.025 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.8418, allocations: 93.66 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.8419, allocations: 334.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.8424, allocations: 152.2 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005146/0.8429, allocations: 223.8 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/0.8435, allocations: 364.9 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.8435, allocations: 8 kB / 1.026 GB, free: 9.312 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001357/0.8449, allocations: 0.5467 MB / 1.027 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/0.845, allocations: 134.8 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.8451, allocations: 4 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.8451, allocations: 4 kB / 1.027 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.8452, allocations: 19.92 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.8452, allocations: 4.25 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009906/0.8462, allocations: 123.6 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.8463, allocations: 23.98 kB / 1.027 GB, free: 8.402 MB / 0.7794 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.0002509/0.8466, allocations: 153.8 kB / 1.027 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.8467, allocations: 19.81 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.976e-05/0.8467, allocations: 21.23 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.8467, allocations: 4 kB / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.8468, allocations: 0 / 1.027 GB, free: 8.199 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.8468, allocations: 3.938 kB / 1.027 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.8471, allocations: 261.4 kB / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.8472, allocations: 0 / 1.027 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.8472, allocations: 15.92 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.503e-06/0.8472, allocations: 11.94 kB / 1.027 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.8473, allocations: 4 kB / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.8473, allocations: 0 / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8473, allocations: 0 / 1.027 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000422/0.8477, allocations: 223.3 kB / 1.027 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.8478, allocations: 96.83 kB / 1.028 GB, free: 7.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.8479, allocations: 11.98 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.848, allocations: 0 / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.138e-05/0.848, allocations: 23.86 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.8481, allocations: 8 kB / 1.028 GB, free: 7.457 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002175/0.8483, allocations: 168.5 kB / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8483, allocations: 0 / 1.028 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004959/0.8488, allocations: 67.94 kB / 1.028 GB, free: 7.227 MB / 0.7794 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.0002543/0.8491, allocations: 116.2 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001/0.8501, allocations: 0.5336 MB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8501, allocations: 0 / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.8502, allocations: 60.67 kB / 1.029 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006315/0.8509, allocations: 72.41 kB / 1.029 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000871/0.8518, allocations: 342.9 kB / 1.029 GB, free: 6.023 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.8522, allocations: 0.7281 MB / 1.03 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.449e-05/0.8523, allocations: 21.55 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.8524, allocations: 23.36 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of SimCode: time 6.41e-07/0.8524, allocations: 4 kB / 1.03 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of Templates: time 0.01035/0.8628, allocations: 4.56 MB / 1.034 GB, free: 0.7148 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches