Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001879/0.00188, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.428/1.428, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.536/2.536, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 64.48 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.00229/0.3303, allocations: 0.7262 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.332, allocations: 1.13 MB / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.3321, allocations: 0 / 1.02 GB, free: 8.75 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3321, allocations: 3.938 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.3322, allocations: 7.938 kB / 1.02 GB, free: 8.738 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.3328, allocations: 144.2 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001948/0.333, allocations: 119.8 kB / 1.02 GB, free: 8.484 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.3331, allocations: 12 kB / 1.02 GB, free: 8.473 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.3332, allocations: 47.84 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.168e-05/0.3333, allocations: 35.89 kB / 1.02 GB, free: 8.391 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.3333, allocations: 16 kB / 1.02 GB, free: 8.375 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.189e-05/0.3334, allocations: 23.98 kB / 1.02 GB, free: 8.352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.3334, allocations: 15.92 kB / 1.02 GB, free: 8.336 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 7.177e-05/0.3335, allocations: 39.86 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3337, allocations: 123.7 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3337, allocations: 7.938 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3337, allocations: 4 kB / 1.02 GB, free: 8.164 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.3337, allocations: 0 / 1.02 GB, free: 8.164 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006314/0.3344, allocations: 401.2 kB / 1.021 GB, free: 7.715 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3344, allocations: 8.625 kB / 1.021 GB, free: 7.707 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.059e-05/0.3345, allocations: 8.844 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.3347, allocations: 184.2 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3347, allocations: 384 / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.3347, allocations: 12.31 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.3349, allocations: 38.25 kB / 1.021 GB, free: 7.426 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3349, allocations: 8.188 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.3349, allocations: 11.92 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3349, allocations: 3.984 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.777e-05/0.335, allocations: 15.94 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005437/0.3355, allocations: 324.8 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 8.21e-05/0.3356, allocations: 38.45 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.86e-05/0.3357, allocations: 16.91 kB / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.3357, allocations: 0 / 1.021 GB, free: 6.953 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.3358, allocations: 67.33 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3358, allocations: 0 / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002414/0.3361, allocations: 73.59 kB / 1.022 GB, free: 6.797 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3361, allocations: 55.41 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.3363, allocations: 125.8 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.3363, allocations: 33.7 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.3364, allocations: 92.05 kB / 1.022 GB, free: 6.465 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.566e-05/0.3364, allocations: 3.906 kB / 1.022 GB, free: 6.461 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.3365, allocations: 33.69 kB / 1.022 GB, free: 6.422 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3367, allocations: 314.8 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.112e-05/0.3368, allocations: 39.98 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.3369, allocations: 58.48 kB / 1.022 GB, free: 6 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.337, allocations: 92.22 kB / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.337, allocations: 0 / 1.022 GB, free: 5.895 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002879/0.3373, allocations: 167.3 kB / 1.023 GB, free: 5.719 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.3374, allocations: 29.7 kB / 1.023 GB, free: 5.684 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3374, allocations: 4 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.3374, allocations: 0 / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.559e-05/0.3375, allocations: 7.938 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.3375, allocations: 4.062 kB / 1.023 GB, free: 5.668 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.3377, allocations: 35.86 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3377, allocations: 4 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001048/0.3378, allocations: 121.8 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.029e-05/0.3378, allocations: 3.938 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.807e-05/0.3379, allocations: 11.89 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3379, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3379, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3379, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001594/0.3381, allocations: 177.6 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3381, allocations: 4.062 kB / 1.023 GB, free: 5.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.3381, allocations: 7.984 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3381, allocations: 0 / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3381, allocations: 0 / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3381, allocations: 7.938 kB / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3381, allocations: 0 / 1.023 GB, free: 5.234 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.3383, allocations: 96.91 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.244e-05/0.3383, allocations: 89 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3384, allocations: 0 / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.821e-05/0.3384, allocations: 0 / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.3384, allocations: 288 / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3384, allocations: 4 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.742e-05/0.3385, allocations: 99.27 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3385, allocations: 0 / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002084/0.3387, allocations: 16 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001857/0.3389, allocations: 115.2 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.3392, allocations: 139.3 kB / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3392, allocations: 0 / 1.023 GB, free: 4.625 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.3392, allocations: 16 kB / 1.023 GB, free: 4.609 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.3395, allocations: 15.92 kB / 1.023 GB, free: 4.594 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.3399, allocations: 183.9 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3402, allocations: 0.6846 MB / 1.024 GB, free: 3.672 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.3403, allocations: 11.42 kB / 1.024 GB, free: 3.66 MB / 0.795 GB Notification: Performance of SimCode: time 2.6e-07/0.3403, allocations: 4 kB / 1.024 GB, free: 3.656 MB / 0.795 GB Notification: Performance of Templates: time 0.003302/0.3436, allocations: 1.145 MB / 1.025 GB, free: 2.523 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches