Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pulse.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004995/0.004995, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.001138/0.001138, allocations: 191.2 kB / 16.79 MB, free: 5.809 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.37/1.37, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6354, allocations: 140.3 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001832/0.6372, allocations: 0.7854 MB / 0.9504 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001154/0.6384, allocations: 1.146 MB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/0.6384, allocations: 1.781 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.6385, allocations: 0 / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.6386, allocations: 11.88 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.639, allocations: 120.1 kB / 0.9516 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.6391, allocations: 110.2 kB / 0.9517 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.33e-05/0.6392, allocations: 13.48 kB / 0.9517 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.539e-05/0.6392, allocations: 37.72 kB / 0.9518 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.6393, allocations: 28.16 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.6394, allocations: 5.5 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.453e-05/0.6394, allocations: 22.92 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.6395, allocations: 6.75 kB / 0.9518 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.319e-05/0.6395, allocations: 38.83 kB / 0.9519 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.6396, allocations: 92.42 kB / 0.952 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.6396, allocations: 5.375 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6396, allocations: 0 / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.6396, allocations: 3.938 kB / 0.952 GB, free: 7.359 MB / 0.7169 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.0004087/0.6401, allocations: 402.2 kB / 0.9523 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6401, allocations: 9.625 kB / 0.9524 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.15e-05/0.6402, allocations: 9.969 kB / 0.9524 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.117e-05/0.6403, allocations: 177.5 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.727e-05/0.6403, allocations: 2.906 kB / 0.9525 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.6403, allocations: 9.297 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.6404, allocations: 49.94 kB / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.6404, allocations: 192 / 0.9526 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.6405, allocations: 5.25 kB / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.6405, allocations: 0 / 0.9526 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.203e-05/0.6405, allocations: 10.97 kB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.6409, allocations: 327.3 kB / 0.9529 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.638e-05/0.6409, allocations: 34.45 kB / 0.953 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.378e-05/0.641, allocations: 16 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.819e-06/0.641, allocations: 0.8125 kB / 0.953 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000136/0.6411, allocations: 68.16 kB / 0.953 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.6411, allocations: 3.938 kB / 0.953 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001961/0.6413, allocations: 74.94 kB / 0.9531 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.6414, allocations: 51.41 kB / 0.9532 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.6414, allocations: 132 kB / 0.9533 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.6415, allocations: 27.17 kB / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.6415, allocations: 88.58 kB / 0.9534 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.6415, allocations: 13.48 kB / 0.9534 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.6416, allocations: 30.17 kB / 0.9534 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.6416, allocations: 316.3 kB / 0.9537 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.6417, allocations: 33.52 kB / 0.9538 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.547e-05/0.6418, allocations: 70.39 kB / 0.9538 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.6419, allocations: 92.36 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6419, allocations: 1.25 kB / 0.9539 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002531/0.6422, allocations: 160.2 kB / 0.9541 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.6422, allocations: 39.14 kB / 0.9541 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.6422, allocations: 1.469 kB / 0.9541 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.6423, allocations: 5.438 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.023e-05/0.6423, allocations: 9.422 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/0.6423, allocations: 1.344 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.6425, allocations: 28.06 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.6426, allocations: 5.281 kB / 0.9542 GB, free: 5.168 MB / 0.7169 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 6.501e-05/0.6426, allocations: 123.4 kB / 0.9543 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.6427, allocations: 10.64 kB / 0.9543 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.261e-05/0.6427, allocations: 13.22 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.6427, allocations: 1.094 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.6427, allocations: 0 / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.6427, allocations: 1.562 kB / 0.9543 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.258e-05/0.6428, allocations: 178 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6428, allocations: 0.8438 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.6428, allocations: 1.688 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.6428, allocations: 1.688 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.6428, allocations: 0 / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.6428, allocations: 0.7812 kB / 0.9545 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6428, allocations: 3.938 kB / 0.9545 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.643, allocations: 99.69 kB / 0.9546 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.643, allocations: 82.31 kB / 0.9547 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.643, allocations: 1.281 kB / 0.9547 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.643, allocations: 8 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.6431, allocations: 2.5 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.6431, allocations: 1.281 kB / 0.9547 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.244e-05/0.6431, allocations: 94.77 kB / 0.9548 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6431, allocations: 4 kB / 0.9548 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002131/0.6433, allocations: 20.66 kB / 0.9548 GB, free: 4.512 MB / 0.7169 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.0001341/0.6435, allocations: 104.1 kB / 0.9549 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.6437, allocations: 137.7 kB / 0.955 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6437, allocations: 0 / 0.955 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.982e-05/0.6437, allocations: 18.73 kB / 0.955 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.644, allocations: 22.81 kB / 0.9551 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.6443, allocations: 181.7 kB / 0.9552 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.6444, allocations: 0.6863 MB / 0.9559 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.991e-05/0.6444, allocations: 14.25 kB / 0.9559 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of SimCode: time 2.91e-07/0.6444, allocations: 4 kB / 0.9559 GB, free: 3.402 MB / 0.7169 GB Notification: Performance of Templates: time 0.002577/0.647, allocations: 1.151 MB / 0.957 GB, free: 2.812 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches