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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009494/0.009493, allocations: 102 kB / 15.73 MB, free: 6.043 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.001908/0.001908, allocations: 196.2 kB / 16.67 MB, free: 5.965 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.2 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.89 kB / 0.9509 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9847/0.9861, allocations: 140.4 MB / 1.088 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002326/0.9884, allocations: 0.9734 MB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002132/0.9906, allocations: 1.427 MB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.409e-05/0.9907, allocations: 2.125 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.938e-05/0.9908, allocations: 17.11 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.9909, allocations: 64.7 kB / 1.09 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.9921, allocations: 434 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006482/0.9927, allocations: 0.5187 MB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.9929, allocations: 42.75 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.9932, allocations: 182.4 kB / 1.091 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003085/0.9936, allocations: 171.3 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.9937, allocations: 49.62 kB / 1.092 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.9938, allocations: 67.44 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.9939, allocations: 38.17 kB / 1.092 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.9941, allocations: 166.5 kB / 1.092 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00067/0.9948, allocations: 0.4886 MB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.9948, allocations: 0.7188 kB / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9948, allocations: 0 / 1.092 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.9948, allocations: 0 / 1.092 GB, free: 3.066 MB / 0.8575 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.000866/0.9957, allocations: 0.6257 MB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.9957, allocations: 9.281 kB / 1.093 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.9958, allocations: 31.61 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.996, allocations: 224.6 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.689e-05/0.996, allocations: 15.62 kB / 1.093 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.9961, allocations: 23.8 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.9963, allocations: 131.7 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.9964, allocations: 0 / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.9964, allocations: 2.5 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.9964, allocations: 1.5 kB / 1.093 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.9965, allocations: 60.84 kB / 1.094 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000996/0.9975, allocations: 0.8809 MB / 1.094 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.9977, allocations: 116.8 kB / 1.095 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.241e-05/0.9978, allocations: 51.62 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.9978, allocations: 1.766 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.9981, allocations: 171.8 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.303e-06/0.9981, allocations: 0 / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0005201/0.9986, allocations: 225.7 kB / 1.095 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.9987, allocations: 145.5 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002662/0.9989, allocations: 235.4 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.473e-05/0.999, allocations: 38.31 kB / 1.095 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.9991, allocations: 131.8 kB / 1.095 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.9992, allocations: 35.56 kB / 1.095 GB, free: 0.5625 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.9994, allocations: 96.59 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/0.9995, allocations: 331.2 kB / 1.096 GB, free: 208 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.9998, allocations: 146.2 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/1, allocations: 226.7 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005261/1.001, allocations: 368.2 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.001, allocations: 1.344 kB / 1.097 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001269/1.002, allocations: 0.5544 MB / 1.097 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.002, allocations: 137 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.002, allocations: 2.75 kB / 1.097 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/1.002, allocations: 8.828 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/1.002, allocations: 14.62 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/1.002, allocations: 7.891 kB / 1.097 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007125/1.003, allocations: 112.8 kB / 1.097 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.41e-05/1.003, allocations: 27.98 kB / 1.097 GB, free: 15.19 MB / 0.8731 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.0001806/1.003, allocations: 149.7 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/1.003, allocations: 21.41 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/1.003, allocations: 22.31 kB / 1.098 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/1.003, allocations: 7.312 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.003, allocations: 1.062 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/1.003, allocations: 2.25 kB / 1.098 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/1.004, allocations: 256.9 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/1.004, allocations: 1.438 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/1.004, allocations: 9 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.004, allocations: 2.125 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/1.004, allocations: 13.61 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/1.004, allocations: 5.516 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.004, allocations: 5.688 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/1.004, allocations: 214 kB / 1.098 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.113e-05/1.004, allocations: 97.09 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/1.004, allocations: 12.02 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.359e-05/1.004, allocations: 10.86 kB / 1.098 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/1.005, allocations: 18.75 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/1.005, allocations: 7.969 kB / 1.098 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001882/1.005, allocations: 168.2 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.005, allocations: 1.156 kB / 1.098 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003817/1.005, allocations: 72.88 kB / 1.098 GB, free: 14.39 MB / 0.8731 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.000221/1.005, allocations: 120.1 kB / 1.099 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008406/1.006, allocations: 0.5249 MB / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.006, allocations: 0 / 1.099 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/1.006, allocations: 64.95 kB / 1.099 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/1.007, allocations: 72.33 kB / 1.099 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/1.008, allocations: 347 kB / 1.1 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/1.008, allocations: 0.7312 MB / 1.1 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.651e-05/1.008, allocations: 22.83 kB / 1.1 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/1.008, allocations: 17.98 kB / 1.1 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of SimCode: time 3.2e-07/1.008, allocations: 4 kB / 1.1 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of Templates: time 0.01337/1.021, allocations: 4.573 MB / 1.105 GB, free: 12.54 MB / 0.8731 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/jenkins/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