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.001711/0.001711, allocations: 107.3 kB / 15.99 MB, free: 5.91 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.002066/0.002066, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.373/1.373, allocations: 222.9 MB / 240.6 MB, free: 15.23 MB / 206.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.453/2.453, allocations: 437 MB / 0.7107 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001985, allocations: 60.25 kB / 0.8694 GB, free: 2.613 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3498, allocations: 151.6 MB / 1.017 GB, free: 11.05 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002316/0.3521, allocations: 1.017 MB / 1.018 GB, free: 10.03 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3541, allocations: 1.436 MB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.3542, allocations: 0 / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.404e-05/0.3542, allocations: 11.86 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.3544, allocations: 39.7 kB / 1.02 GB, free: 8.523 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3554, allocations: 425.7 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004948/0.3559, allocations: 0.5107 MB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3561, allocations: 49.64 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.3563, allocations: 183.6 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.3565, allocations: 139.5 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.4e-05/0.3565, allocations: 52 kB / 1.021 GB, free: 7.191 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3567, allocations: 63.98 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.3567, allocations: 35.86 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3569, allocations: 175.4 kB / 1.022 GB, free: 6.922 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003398/0.3572, allocations: 387.3 kB / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3572, allocations: 0 / 1.022 GB, free: 6.543 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3572, allocations: 4 kB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3573, allocations: 0 / 1.022 GB, free: 6.539 MB / 0.795 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.0007882/0.3581, allocations: 0.6223 MB / 1.022 GB, free: 5.84 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3581, allocations: 16.55 kB / 1.022 GB, free: 5.824 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.3582, allocations: 32.66 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.3584, allocations: 223 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.3584, allocations: 16.38 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.842e-05/0.3585, allocations: 24.36 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3587, allocations: 117.6 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3587, allocations: 192 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.3588, allocations: 11.94 kB / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.3588, allocations: 0 / 1.023 GB, free: 5.355 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.3589, allocations: 51.92 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009901/0.3599, allocations: 0.8795 MB / 1.024 GB, free: 4.363 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3601, allocations: 126.3 kB / 1.024 GB, free: 4.203 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.678e-05/0.3602, allocations: 51.48 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.3602, allocations: 0 / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.3604, allocations: 172.5 kB / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.372e-06/0.3604, allocations: 0 / 1.024 GB, free: 3.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0004474/0.3609, allocations: 225.2 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/0.361, allocations: 132.5 kB / 1.024 GB, free: 3.562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/0.3612, allocations: 252.8 kB / 1.025 GB, free: 3.305 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.3613, allocations: 37.7 kB / 1.025 GB, free: 3.262 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3614, allocations: 128.4 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3615, allocations: 35.59 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/0.3616, allocations: 89.66 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3618, allocations: 334.8 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003026/0.3621, allocations: 144.2 kB / 1.025 GB, free: 2.527 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.3624, allocations: 230.6 kB / 1.026 GB, free: 2.266 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004445/0.3629, allocations: 365 kB / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3629, allocations: 0 / 1.026 GB, free: 1.848 MB / 0.795 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000912/0.3638, allocations: 0.5513 MB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3639, allocations: 138.7 kB / 1.027 GB, free: 1.105 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3639, allocations: 4 kB / 1.027 GB, free: 1.102 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.364, allocations: 4 kB / 1.027 GB, free: 1.098 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.301e-05/0.3641, allocations: 15.94 kB / 1.027 GB, free: 1.082 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3641, allocations: 7.984 kB / 1.027 GB, free: 1.074 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.3648, allocations: 115.9 kB / 1.027 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.3648, allocations: 27.97 kB / 1.027 GB, free: 0.9336 MB / 0.795 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.0001613/0.365, allocations: 150.3 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.365, allocations: 24 kB / 1.027 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.777e-05/0.3651, allocations: 25.22 kB / 1.027 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3651, allocations: 4 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3651, allocations: 0 / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.3651, allocations: 7.938 kB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002557/0.3654, allocations: 261.4 kB / 1.027 GB, free: 424 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3654, allocations: 8 kB / 1.027 GB, free: 416 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.3654, allocations: 11.94 kB / 1.027 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3654, allocations: 0 / 1.027 GB, free: 404 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3655, allocations: 4 kB / 1.027 GB, free: 400 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3655, allocations: 4 kB / 1.027 GB, free: 396 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.3655, allocations: 3.984 kB / 1.027 GB, free: 392 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.3658, allocations: 219.3 kB / 1.028 GB, free: 144 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.625e-05/0.3658, allocations: 100.8 kB / 1.028 GB, free: 24 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.3659, allocations: 8 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.157e-05/0.3659, allocations: 8 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.366, allocations: 15.97 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.366, allocations: 11.94 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001386/0.3662, allocations: 164.5 kB / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3662, allocations: 0 / 1.028 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003309/0.3665, allocations: 67.98 kB / 1.028 GB, free: 15.76 MB / 0.8106 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.00017/0.3667, allocations: 119.9 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007136/0.3674, allocations: 0.5326 MB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.3674, allocations: 4 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.3676, allocations: 83.91 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.368, allocations: 60.83 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.3687, allocations: 415 kB / 1.029 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.369, allocations: 0.7358 MB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.327e-05/0.3691, allocations: 23.44 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3691, allocations: 0 / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of Templates: time 0.005955/0.375, allocations: 3.497 MB / 1.033 GB, free: 10.21 MB / 0.8106 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/jenkins1/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