Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001851/0.001851, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002328/0.002328, allocations: 211.1 kB / 22.99 MB, free: 4.953 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.49 GB / 0.7959 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [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.003004/0.003004, allocations: 73.67 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.328, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002158/0.3302, allocations: 0.9287 MB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3321, allocations: 1.451 MB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.3322, allocations: 4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.125e-05/0.3323, allocations: 23.73 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3324, allocations: 59.56 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.3335, allocations: 442.7 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.334, allocations: 487.1 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3341, allocations: 37.92 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.3343, allocations: 187.5 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.3345, allocations: 159.5 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.854e-05/0.3346, allocations: 48 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3348, allocations: 63.98 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.3348, allocations: 43.78 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.335, allocations: 147.6 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000516/0.3355, allocations: 0.4945 MB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3355, allocations: 0 / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3355, allocations: 0 / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3355, allocations: 0 / 1.332 GB, free: 12.48 MB / 1.029 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.0008289/0.3363, allocations: 0.5702 MB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.3364, allocations: 15.97 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.307e-05/0.3364, allocations: 24.84 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3366, allocations: 169.2 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.3367, allocations: 16.36 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.771e-05/0.3367, allocations: 24.38 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.3369, allocations: 120.5 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.337, allocations: 192 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.337, allocations: 11.88 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.337, allocations: 0 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.3371, allocations: 59.91 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.338, allocations: 0.731 MB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001647/0.3382, allocations: 110.4 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.3383, allocations: 59.47 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.3383, allocations: 0 / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002912/0.3386, allocations: 170.7 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.3386, allocations: 4 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004758/0.339, allocations: 229.3 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.852e-05/0.3391, allocations: 136.5 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002537/0.3394, allocations: 240.8 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.095e-05/0.3394, allocations: 37.7 kB / 1.334 GB, free: 9.508 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3396, allocations: 140.4 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.3396, allocations: 31.8 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.3398, allocations: 89.66 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.3399, allocations: 334.8 kB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.3403, allocations: 279 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.3408, allocations: 354.1 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004753/0.3412, allocations: 365 kB / 1.336 GB, free: 7.777 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.3412, allocations: 3.984 kB / 1.336 GB, free: 7.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001056/0.3423, allocations: 0.6902 MB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.3424, allocations: 138.8 kB / 1.336 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3424, allocations: 3.938 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3424, allocations: 4 kB / 1.336 GB, free: 6.859 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.3425, allocations: 15.94 kB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.3425, allocations: 4 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006612/0.3432, allocations: 116 kB / 1.337 GB, free: 6.727 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.3433, allocations: 23.98 kB / 1.337 GB, free: 6.703 MB / 1.029 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.0001739/0.3434, allocations: 154.2 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3435, allocations: 23.84 kB / 1.337 GB, free: 6.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.3435, allocations: 21.34 kB / 1.337 GB, free: 6.492 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3435, allocations: 4 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3435, allocations: 4 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.3435, allocations: 3.984 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.3437, allocations: 185.1 kB / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3437, allocations: 0 / 1.337 GB, free: 6.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.518e-05/0.3438, allocations: 15.92 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3438, allocations: 0 / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3438, allocations: 4 kB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3438, allocations: 0 / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3438, allocations: 4 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.3441, allocations: 232.3 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.3442, allocations: 19.86 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.3442, allocations: 7.984 kB / 1.337 GB, free: 5.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.3442, allocations: 4 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/0.3443, allocations: 19.97 kB / 1.337 GB, free: 5.941 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3443, allocations: 4 kB / 1.337 GB, free: 5.938 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001628/0.3445, allocations: 172.4 kB / 1.337 GB, free: 5.773 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3445, allocations: 4 kB / 1.337 GB, free: 5.77 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003333/0.3448, allocations: 60 kB / 1.338 GB, free: 5.711 MB / 1.029 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.0001822/0.345, allocations: 119.9 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007847/0.3458, allocations: 0.6017 MB / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3458, allocations: 0 / 1.338 GB, free: 4.91 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3459, allocations: 59.91 kB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.3463, allocations: 70.88 kB / 1.338 GB, free: 4.785 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.3471, allocations: 360.3 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.3472, allocations: 120.9 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.749e-05/0.3473, allocations: 17.64 kB / 1.339 GB, free: 4.246 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.965e-05/0.3473, allocations: 19.44 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3473, allocations: 0 / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of Templates: time 0.01012/0.3575, allocations: 5.255 MB / 1.344 GB, free: 15.09 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.973920491000172]