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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001147/0.001147, allocations: 114.1 kB / 16.37 MB, free: 6.016 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.001062/0.001062, allocations: 194.2 kB / 17.31 MB, free: 5.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.376/1.376, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437.1 MB / 0.7112 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 64.09 kB / 0.8707 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3297, allocations: 151.6 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002246/0.332, allocations: 0.9663 MB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.3339, allocations: 1.442 MB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.334, allocations: 0 / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.608e-05/0.3341, allocations: 15.75 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.3342, allocations: 51.56 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3352, allocations: 443.4 kB / 1.022 GB, free: 6.887 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005662/0.3358, allocations: 0.5186 MB / 1.022 GB, free: 6.367 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.336, allocations: 45.66 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002276/0.3362, allocations: 183.6 kB / 1.022 GB, free: 6.141 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.3365, allocations: 163.4 kB / 1.023 GB, free: 5.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.3365, allocations: 52 kB / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3367, allocations: 67.92 kB / 1.023 GB, free: 5.863 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.3367, allocations: 35.86 kB / 1.023 GB, free: 5.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.337, allocations: 167.4 kB / 1.023 GB, free: 5.664 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0005434/0.3375, allocations: 498.6 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.3375, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.184e-06/0.3375, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.3376, allocations: 0 / 1.023 GB, free: 5.176 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.0009866/0.3386, allocations: 0.6339 MB / 1.024 GB, free: 4.465 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3386, allocations: 12.03 kB / 1.024 GB, free: 4.453 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3387, allocations: 32.66 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.339, allocations: 226.9 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.339, allocations: 20.36 kB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.3391, allocations: 20.38 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002094/0.3393, allocations: 120.2 kB / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3393, allocations: 192 / 1.024 GB, free: 3.988 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.3393, allocations: 3.938 kB / 1.024 GB, free: 3.984 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3393, allocations: 11.94 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.3395, allocations: 51.97 kB / 1.024 GB, free: 3.922 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3405, allocations: 0.8717 MB / 1.025 GB, free: 2.988 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.3407, allocations: 122.3 kB / 1.025 GB, free: 2.832 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.3408, allocations: 55.48 kB / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.3408, allocations: 0 / 1.025 GB, free: 2.766 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002841/0.3411, allocations: 182.7 kB / 1.026 GB, free: 2.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=16): time 1.212e-06/0.3411, allocations: 0 / 1.026 GB, free: 2.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=16): time 0.0004565/0.3415, allocations: 229.2 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.3417, allocations: 136.5 kB / 1.026 GB, free: 2.168 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.342, allocations: 240.9 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.3421, allocations: 37.7 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.3422, allocations: 132.4 kB / 1.026 GB, free: 1.75 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.3423, allocations: 35.61 kB / 1.026 GB, free: 1.715 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/0.3424, allocations: 85.66 kB / 1.026 GB, free: 1.625 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3426, allocations: 342.8 kB / 1.027 GB, free: 1.281 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.3429, allocations: 140.2 kB / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.3433, allocations: 227.6 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.3437, allocations: 361 kB / 1.027 GB, free: 484 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3437, allocations: 4 kB / 1.027 GB, free: 480 kB / 0.795 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009566/0.3447, allocations: 0.5545 MB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.3448, allocations: 138.8 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3448, allocations: 0 / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3449, allocations: 4 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.345, allocations: 19.92 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.345, allocations: 4 kB / 1.028 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005855/0.3456, allocations: 119.8 kB / 1.028 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.824e-05/0.3456, allocations: 23.98 kB / 1.028 GB, free: 15.55 MB / 0.8106 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.0001643/0.3458, allocations: 155 kB / 1.028 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.3458, allocations: 15.81 kB / 1.028 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.304e-05/0.3459, allocations: 21.23 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3459, allocations: 4 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3459, allocations: 0 / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3459, allocations: 7.938 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.3462, allocations: 257.4 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.3462, allocations: 4 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.3462, allocations: 19.86 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3462, allocations: 4 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.3462, allocations: 8 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3463, allocations: 0 / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3463, allocations: 4 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3465, allocations: 220.2 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.3466, allocations: 100.8 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.3467, allocations: 7.984 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.3467, allocations: 8 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.3468, allocations: 11.92 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.3468, allocations: 15.98 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001439/0.3469, allocations: 160.5 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3469, allocations: 0 / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003219/0.3473, allocations: 75.98 kB / 1.029 GB, free: 14.38 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.0001816/0.3475, allocations: 119.4 kB / 1.029 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007054/0.3482, allocations: 0.531 MB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3482, allocations: 0 / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.3483, allocations: 63.91 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.3487, allocations: 76.8 kB / 1.03 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.3495, allocations: 335 kB / 1.03 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.3499, allocations: 0.7319 MB / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.871e-05/0.3499, allocations: 17.55 kB / 1.031 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.35, allocations: 27.42 kB / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of SimCode: time 3.2e-07/0.35, allocations: 0 / 1.031 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of Templates: time 0.008085/0.3581, allocations: 4.558 MB / 1.036 GB, free: 7.871 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 -s gbode -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