Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_9_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_9_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.001462/0.001462, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.468/1.468, allocations: 222.9 MB / 240.2 MB, free: 4.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.637/2.637, allocations: 390.2 MB / 0.6646 GB, free: 392 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9151/0.9164, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00211/0.9186, allocations: 0.9604 MB / 0.9505 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.9201, allocations: 1.43 MB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.751e-05/0.9202, allocations: 2.812 kB / 0.9519 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.9203, allocations: 23.67 kB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.9204, allocations: 48.03 kB / 0.952 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009447/0.9213, allocations: 439.7 kB / 0.9524 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004791/0.9218, allocations: 0.513 MB / 0.9529 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.922, allocations: 37.73 kB / 0.953 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001744/0.9222, allocations: 188.7 kB / 0.9531 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.9223, allocations: 141.8 kB / 0.9533 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.529e-05/0.9224, allocations: 48.53 kB / 0.9533 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001361/0.9226, allocations: 67.95 kB / 0.9534 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.848e-05/0.9226, allocations: 40.03 kB / 0.9534 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001865/0.9228, allocations: 171.2 kB / 0.9536 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004152/0.9232, allocations: 494.8 kB / 0.9541 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.9232, allocations: 0 / 0.9541 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9232, allocations: 1 kB / 0.9541 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.9232, allocations: 0 / 0.9541 GB, free: 5.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007231/0.924, allocations: 0.6301 MB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.924, allocations: 9.875 kB / 0.9547 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.9241, allocations: 30.72 kB / 0.9547 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.9243, allocations: 219.6 kB / 0.9549 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.9243, allocations: 26.27 kB / 0.955 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.234e-05/0.9244, allocations: 23.41 kB / 0.955 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.9246, allocations: 123.4 kB / 0.9551 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.9246, allocations: 4 kB / 0.9551 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.9247, allocations: 0 / 0.9551 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.9247, allocations: 3.5 kB / 0.9551 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.847e-05/0.9248, allocations: 57.09 kB / 0.9552 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008152/0.9256, allocations: 0.8699 MB / 0.956 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.9257, allocations: 123.3 kB / 0.9561 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.9258, allocations: 51.36 kB / 0.9562 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.9258, allocations: 2.281 kB / 0.9562 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002438/0.9261, allocations: 180.8 kB / 0.9563 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.9261, allocations: 0 / 0.9563 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0005492/0.9267, allocations: 230 kB / 0.9566 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.174e-05/0.9267, allocations: 143.6 kB / 0.9567 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/0.927, allocations: 236.2 kB / 0.9569 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.927, allocations: 36.7 kB / 0.957 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.9272, allocations: 135.5 kB / 0.9571 GB, free: 3.047 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.9272, allocations: 31.92 kB / 0.9571 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.9274, allocations: 96.64 kB / 0.9572 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/0.9275, allocations: 335.4 kB / 0.9575 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.9278, allocations: 146.8 kB / 0.9577 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003204/0.9281, allocations: 227.1 kB / 0.9579 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003784/0.9285, allocations: 363.8 kB / 0.9582 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.9285, allocations: 0 / 0.9582 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009334/0.9294, allocations: 0.5545 MB / 0.9588 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.5e-05/0.9295, allocations: 137.8 kB / 0.9589 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.9295, allocations: 2.156 kB / 0.9589 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.9296, allocations: 4.781 kB / 0.9589 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.9297, allocations: 17.3 kB / 0.9589 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.9297, allocations: 7.219 kB / 0.9589 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007117/0.9304, allocations: 123.7 kB / 0.9591 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.511e-05/0.9305, allocations: 27.61 kB / 0.9591 GB, free: 1.469 MB / 0.7169 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.0001494/0.9306, allocations: 142.7 kB / 0.9592 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.9307, allocations: 21.64 kB / 0.9592 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.9307, allocations: 18.25 kB / 0.9593 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.9307, allocations: 6.688 kB / 0.9593 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.9307, allocations: 6.094 kB / 0.9593 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.9307, allocations: 5.078 kB / 0.9593 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.931, allocations: 256.7 kB / 0.9595 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.931, allocations: 0.8438 kB / 0.9595 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.931, allocations: 11.44 kB / 0.9595 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.931, allocations: 2.531 kB / 0.9595 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.9311, allocations: 10.64 kB / 0.9595 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.9311, allocations: 1.125 kB / 0.9595 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.9311, allocations: 5.094 kB / 0.9596 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002785/0.9314, allocations: 217.5 kB / 0.9598 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.9314, allocations: 99.12 kB / 0.9599 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.9314, allocations: 6.312 kB / 0.9599 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.991e-05/0.9315, allocations: 6.047 kB / 0.9599 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.131e-05/0.9316, allocations: 18.61 kB / 0.9599 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.9316, allocations: 10.34 kB / 0.9599 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001446/0.9318, allocations: 173.8 kB / 0.9601 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9318, allocations: 0 / 0.9601 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003562/0.9321, allocations: 67.62 kB / 0.9601 GB, free: 0.6016 MB / 0.7169 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.0001727/0.9323, allocations: 113.7 kB / 0.9602 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007285/0.933, allocations: 0.5363 MB / 0.9608 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9331, allocations: 1.094 kB / 0.9608 GB, free: 84 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.9332, allocations: 66.73 kB / 0.9608 GB, free: 56 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.9336, allocations: 70.09 kB / 0.9609 GB, free: 16 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.9343, allocations: 350.1 kB / 0.9612 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.9347, allocations: 0.7337 MB / 0.9619 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.607e-05/0.9348, allocations: 17.67 kB / 0.962 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.248e-05/0.9348, allocations: 18.19 kB / 0.962 GB, free: 15 MB / 0.7325 GB Notification: Performance of SimCode: time 3.81e-07/0.9348, allocations: 0 / 0.962 GB, free: 15 MB / 0.7325 GB Notification: Performance of Templates: time 0.01183/0.9466, allocations: 4.565 MB / 0.9664 GB, free: 12.72 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches