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.007911/0.00791, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001672/0.001672, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.442/2.442, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 71.89 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.096/1.097, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002089/1.1, allocations: 0.9686 MB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001875/1.101, allocations: 1.427 MB / 1.09 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/1.102, allocations: 5.062 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.322e-05/1.102, allocations: 16.83 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001587/1.102, allocations: 53.36 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/1.103, allocations: 442.5 kB / 1.091 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005855/1.103, allocations: 0.5181 MB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001475/1.104, allocations: 38.66 kB / 1.091 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/1.104, allocations: 186.2 kB / 1.091 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002602/1.104, allocations: 171.3 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.057e-05/1.104, allocations: 49.5 kB / 1.092 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/1.104, allocations: 63.67 kB / 1.092 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.467e-05/1.104, allocations: 36.84 kB / 1.092 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001985/1.105, allocations: 164.7 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006529/1.105, allocations: 0.4895 MB / 1.092 GB, free: 2.824 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.105, allocations: 5 kB / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.114e-06/1.105, allocations: 0 / 1.092 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.105, allocations: 0 / 1.092 GB, free: 2.82 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.0007854/1.106, allocations: 0.6333 MB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.106, allocations: 8.969 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001081/1.106, allocations: 31.66 kB / 1.093 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/1.106, allocations: 220.2 kB / 1.093 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.272e-05/1.106, allocations: 19.88 kB / 1.093 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.615e-05/1.107, allocations: 24.97 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/1.107, allocations: 123.5 kB / 1.093 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.107, allocations: 9.016 kB / 1.093 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.107, allocations: 6.516 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.107, allocations: 2.188 kB / 1.093 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/1.107, allocations: 53.39 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/1.108, allocations: 0.8772 MB / 1.094 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/1.108, allocations: 115.9 kB / 1.094 GB, free: 1.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.096e-05/1.108, allocations: 55.28 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.558e-06/1.108, allocations: 1.641 kB / 1.095 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003152/1.108, allocations: 178 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/1.108, allocations: 4.781 kB / 1.095 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0006144/1.109, allocations: 222.4 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.631e-05/1.109, allocations: 140.1 kB / 1.095 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/1.109, allocations: 240.2 kB / 1.095 GB, free: 492 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/1.11, allocations: 38.23 kB / 1.095 GB, free: 456 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/1.11, allocations: 132.2 kB / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/1.11, allocations: 34.95 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002461/1.11, allocations: 93.58 kB / 1.096 GB, free: 276 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.11, allocations: 334.5 kB / 1.096 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004026/1.111, allocations: 145.7 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/1.111, allocations: 223.3 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005935/1.112, allocations: 367.9 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/1.112, allocations: 1.062 kB / 1.097 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001189/1.113, allocations: 0.5511 MB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/1.113, allocations: 135.8 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/1.113, allocations: 3.469 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.605e-05/1.113, allocations: 4.188 kB / 1.097 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/1.113, allocations: 27.44 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/1.113, allocations: 4.172 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007308/1.114, allocations: 104 kB / 1.097 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.996e-05/1.114, allocations: 32.48 kB / 1.097 GB, free: 14.94 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.0001824/1.114, allocations: 149.1 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.451e-05/1.114, allocations: 22.66 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.098e-05/1.114, allocations: 22.5 kB / 1.098 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/1.114, allocations: 6.922 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.114, allocations: 1 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.114, allocations: 1.875 kB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/1.115, allocations: 257.8 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.115, allocations: 5.156 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.297e-05/1.115, allocations: 8.938 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/1.115, allocations: 2.516 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/1.115, allocations: 5.094 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-05/1.115, allocations: 8.938 kB / 1.098 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.115, allocations: 8.969 kB / 1.098 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/1.115, allocations: 220.8 kB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/1.115, allocations: 97.09 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/1.115, allocations: 4.281 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.56e-05/1.115, allocations: 9.688 kB / 1.098 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/1.115, allocations: 15.61 kB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/1.115, allocations: 8.562 kB / 1.098 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000176/1.116, allocations: 171.1 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.116, allocations: 0.9688 kB / 1.098 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003896/1.116, allocations: 72.62 kB / 1.098 GB, free: 14.14 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.0001794/1.116, allocations: 108.5 kB / 1.099 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008415/1.117, allocations: 0.5212 MB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.117, allocations: 1.094 kB / 1.099 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/1.117, allocations: 76.36 kB / 1.099 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/1.118, allocations: 63.34 kB / 1.099 GB, free: 13.63 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/1.118, allocations: 352 kB / 1.1 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/1.119, allocations: 0.7269 MB / 1.1 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.178e-05/1.119, allocations: 22.59 kB / 1.1 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.536e-05/1.119, allocations: 22.81 kB / 1.1 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.9e-07/1.119, allocations: 0 / 1.1 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.01152/1.13, allocations: 4.576 MB / 1.105 GB, free: 12.3 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