Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 107.6 kB / 18.95 MB, free: 2.805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 214.8 kB / 22.24 MB, free: 5.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.814/2.814, allocations: 476 MB / 0.7699 GB, free: 4.699 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 66.78 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3161, allocations: 169.9 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.00234/0.3185, allocations: 0.9234 MB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002149/0.3206, allocations: 1.449 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.3e-05/0.3207, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.195e-05/0.3207, allocations: 15.75 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.3209, allocations: 59.56 kB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.3219, allocations: 451.5 kB / 1.285 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005487/0.3225, allocations: 491.1 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.3226, allocations: 31.62 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.3229, allocations: 187.6 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.3231, allocations: 143.4 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.175e-05/0.3232, allocations: 48 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3233, allocations: 59.98 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.3234, allocations: 35.86 kB / 1.286 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001771/0.3235, allocations: 159.5 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.3241, allocations: 498 kB / 1.287 GB, free: 7.898 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3241, allocations: 4 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3241, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.3241, allocations: 7.875 kB / 1.287 GB, free: 7.887 MB / 0.9825 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.0008961/0.325, allocations: 0.5586 MB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/0.325, allocations: 15.97 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.3251, allocations: 38.73 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.389e-05/0.3252, allocations: 28.84 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002105/0.3254, allocations: 169.2 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/0.3254, allocations: 16.38 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.06e-05/0.3255, allocations: 28.36 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.3257, allocations: 121.6 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.3257, allocations: 3.938 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.3257, allocations: 4 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.307e-06/0.3258, allocations: 4 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.3259, allocations: 51.91 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.3269, allocations: 0.7539 MB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001902/0.3271, allocations: 118.4 kB / 1.289 GB, free: 5.789 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.235e-05/0.3272, allocations: 43.5 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.3272, allocations: 4 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003624/0.3276, allocations: 178.7 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.3276, allocations: 3.938 kB / 1.289 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0004802/0.3281, allocations: 226.1 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/0.3282, allocations: 140.5 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/0.3284, allocations: 240.8 kB / 1.29 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/0.3285, allocations: 41.69 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.3286, allocations: 136.5 kB / 1.29 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.535e-05/0.3287, allocations: 31.77 kB / 1.29 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.3288, allocations: 93.64 kB / 1.29 GB, free: 4.574 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.329, allocations: 330.8 kB / 1.29 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.3294, allocations: 275 kB / 1.291 GB, free: 3.945 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004371/0.3298, allocations: 352 kB / 1.291 GB, free: 3.543 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004977/0.3303, allocations: 376.9 kB / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3303, allocations: 0 / 1.291 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001081/0.3314, allocations: 0.6902 MB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001274/0.3315, allocations: 134.8 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.3316, allocations: 4.25 kB / 1.292 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.3316, allocations: 8 kB / 1.292 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.3317, allocations: 16.16 kB / 1.292 GB, free: 2.184 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.3317, allocations: 4 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000639/0.3323, allocations: 111.7 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.3324, allocations: 31.98 kB / 1.292 GB, free: 2.039 MB / 0.9825 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.0001808/0.3326, allocations: 153.7 kB / 1.292 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.918e-05/0.3326, allocations: 19.86 kB / 1.292 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.385e-05/0.3327, allocations: 25.33 kB / 1.292 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.3327, allocations: 3.938 kB / 1.292 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3327, allocations: 4 kB / 1.292 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3327, allocations: 3.938 kB / 1.292 GB, free: 1.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3329, allocations: 208.7 kB / 1.293 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3329, allocations: 4 kB / 1.293 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.333, allocations: 11.98 kB / 1.293 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.333, allocations: 4 kB / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.333, allocations: 0 / 1.293 GB, free: 1.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.333, allocations: 4 kB / 1.293 GB, free: 1.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.333, allocations: 3.938 kB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.3333, allocations: 225.6 kB / 1.293 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.3333, allocations: 19.8 kB / 1.293 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.13e-05/0.3334, allocations: 11.98 kB / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.994e-05/0.3334, allocations: 0 / 1.293 GB, free: 1.262 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.3335, allocations: 19.92 kB / 1.293 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3335, allocations: 11.98 kB / 1.293 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00017/0.3337, allocations: 176.4 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3337, allocations: 0 / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003422/0.334, allocations: 67.94 kB / 1.293 GB, free: 0.9922 MB / 0.9825 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.0006789/0.3347, allocations: 0.7634 MB / 1.294 GB, free: 196 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008224/0.3355, allocations: 0.5982 MB / 1.294 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3355, allocations: 4.062 kB / 1.294 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3356, allocations: 55.91 kB / 1.294 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.3361, allocations: 79.66 kB / 1.295 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004625/0.3407, allocations: 3.548 MB / 1.298 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.3408, allocations: 120.9 kB / 1.298 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.398e-05/0.3409, allocations: 17.64 kB / 1.298 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/0.341, allocations: 63.41 kB / 1.298 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/0.341, allocations: 0 / 1.298 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03703/0.378, allocations: 7.527 MB / 1.306 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.83, allocations: 4.062 kB / 1.306 GB, free: 4.055 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.554953121114522]