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.001245/0.001245, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.009625/0.009625, allocations: 170.2 kB / 16.26 MB, free: 6.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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.703/2.703, allocations: 437.8 MB / 0.7121 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 15.98 kB / 0.8728 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8785/0.8789, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001772/0.8808, allocations: 0.6748 MB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003249/0.8841, allocations: 1.487 MB / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.8843, allocations: 0 / 1.025 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 6.507e-05/0.8844, allocations: 7.875 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.8847, allocations: 47.69 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001779/0.8865, allocations: 417.3 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007499/0.8873, allocations: 419.1 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.8875, allocations: 57.62 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.8879, allocations: 139.6 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003415/0.8883, allocations: 127.5 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001546/0.8885, allocations: 16 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001835/0.8887, allocations: 39.94 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.8887, allocations: 31.84 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.8891, allocations: 157.1 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007726/0.8899, allocations: 464.5 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.8899, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.434e-06/0.8899, allocations: 0 / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.418e-05/0.8899, allocations: 0 / 1.027 GB, free: 11.75 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.00117/0.8911, allocations: 0.5756 MB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8912, allocations: 8.031 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.8914, allocations: 28.75 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.8917, allocations: 219 kB / 1.028 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.8918, allocations: 16.31 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001386/0.8919, allocations: 28.36 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.8923, allocations: 124 kB / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.8923, allocations: 192 / 1.028 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.8923, allocations: 3.938 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.8923, allocations: 4 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.8925, allocations: 59.91 kB / 1.028 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.8941, allocations: 0.8717 MB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.8943, allocations: 126.4 kB / 1.029 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.8944, allocations: 51.48 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.411e-05/0.8945, allocations: 0 / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003622/0.8948, allocations: 174.6 kB / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/0.8949, allocations: 0 / 1.029 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0006839/0.8956, allocations: 221.9 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.8957, allocations: 140.5 kB / 1.03 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.8961, allocations: 236.9 kB / 1.03 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.108e-05/0.8962, allocations: 45.64 kB / 1.03 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.8963, allocations: 124.5 kB / 1.03 GB, free: 8.402 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/0.8964, allocations: 35.53 kB / 1.03 GB, free: 8.367 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.8965, allocations: 45.7 kB / 1.03 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.8967, allocations: 334.8 kB / 1.03 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.8972, allocations: 144.2 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005248/0.8977, allocations: 228.3 kB / 1.031 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/0.8984, allocations: 365 kB / 1.031 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.8984, allocations: 0 / 1.031 GB, free: 7.164 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001461/0.8999, allocations: 0.5509 MB / 1.032 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.9, allocations: 140.5 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.9, allocations: 4 kB / 1.032 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.9001, allocations: 4.094 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.9002, allocations: 19.92 kB / 1.032 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.9002, allocations: 4 kB / 1.032 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.9014, allocations: 167.7 kB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.722e-05/0.9015, allocations: 23.98 kB / 1.032 GB, free: 6.203 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.0002183/0.9017, allocations: 151.8 kB / 1.032 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.615e-05/0.9018, allocations: 27.7 kB / 1.032 GB, free: 6.02 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.9019, allocations: 17.25 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9019, allocations: 4 kB / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.9019, allocations: 0 / 1.032 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.418e-05/0.9019, allocations: 15.92 kB / 1.032 GB, free: 5.984 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.9023, allocations: 253.5 kB / 1.032 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.9023, allocations: 4 kB / 1.032 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.684e-05/0.9023, allocations: 11.88 kB / 1.032 GB, free: 5.672 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.9024, allocations: 4 kB / 1.032 GB, free: 5.668 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.9024, allocations: 11.98 kB / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.9024, allocations: 0 / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.9024, allocations: 0 / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/0.9029, allocations: 223.2 kB / 1.033 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.893e-05/0.903, allocations: 92.91 kB / 1.033 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.903, allocations: 8 kB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.9031, allocations: 8 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.9032, allocations: 19.91 kB / 1.033 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.9032, allocations: 8 kB / 1.033 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000226/0.9035, allocations: 168.5 kB / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9035, allocations: 0 / 1.033 GB, free: 5.094 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005661/0.904, allocations: 67.94 kB / 1.033 GB, free: 5.027 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.0002089/0.9043, allocations: 123.2 kB / 1.033 GB, free: 4.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.9054, allocations: 0.517 MB / 1.034 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.9054, allocations: 0 / 1.034 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/0.9056, allocations: 71.91 kB / 1.034 GB, free: 4.258 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/0.9063, allocations: 59.81 kB / 1.034 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008707/0.9072, allocations: 400 kB / 1.034 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.9076, allocations: 0.7284 MB / 1.035 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.903e-05/0.9077, allocations: 21.53 kB / 1.035 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.9078, allocations: 31.42 kB / 1.035 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.9078, allocations: 3.938 kB / 1.035 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of Templates: time 0.01071/0.9185, allocations: 4.329 MB / 1.039 GB, free: 14.7 MB / 0.795 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=480 -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