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.0007948/0.0007948, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008269/0.0008269, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9169/0.9169, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.674/1.674, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.716e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001288/0.001305, allocations: 0.9284 MB / 0.9514 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.002602, allocations: 1.463 MB / 0.9528 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.002658, allocations: 3.938 kB / 0.9528 GB, free: 1.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.002693, allocations: 11.81 kB / 0.9528 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.002805, allocations: 67.5 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.003469, allocations: 447 kB / 0.9533 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003293/0.003798, allocations: 499 kB / 0.9538 GB, free: 80 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.003901, allocations: 25.95 kB / 0.9538 GB, free: 52 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.004115, allocations: 267.5 kB / 0.9541 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.004268, allocations: 135.7 kB / 0.9542 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.421e-05/0.004312, allocations: 48 kB / 0.9543 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 7.66e-05/0.004388, allocations: 59.98 kB / 0.9543 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.004418, allocations: 35.86 kB / 0.9544 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.548e-05/0.004514, allocations: 143.6 kB / 0.9545 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.004886, allocations: 0.5611 MB / 0.955 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004888, allocations: 0 / 0.955 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004889, allocations: 0 / 0.955 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.004894, allocations: 4 kB / 0.9551 GB, free: 14.81 MB / 0.9167 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.0005256/0.00542, allocations: 0.5624 MB / 0.9556 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.005455, allocations: 8.031 kB / 0.9556 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.005483, allocations: 42.75 kB / 0.9556 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.968e-05/0.005543, allocations: 32.78 kB / 0.9557 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.005707, allocations: 168.9 kB / 0.9558 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.005727, allocations: 12.38 kB / 0.9559 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.005762, allocations: 24.38 kB / 0.9559 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.005902, allocations: 113.6 kB / 0.956 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.00591, allocations: 4.125 kB / 0.956 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.005923, allocations: 12.36 kB / 0.956 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.005929, allocations: 4.125 kB / 0.956 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.35e-05/0.006003, allocations: 51.92 kB / 0.9561 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.006589, allocations: 0.7539 MB / 0.9568 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.006695, allocations: 118.4 kB / 0.9569 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.644e-05/0.006741, allocations: 51.48 kB / 0.957 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.687e-06/0.00675, allocations: 0 / 0.957 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001804/0.006931, allocations: 174.6 kB / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 9.02e-07/0.006931, allocations: 0 / 0.9571 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.0003012/0.007233, allocations: 229.3 kB / 0.9573 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.007355, allocations: 140.5 kB / 0.9575 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.00751, allocations: 237.7 kB / 0.9577 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.007543, allocations: 37.7 kB / 0.9577 GB, free: 11.78 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.36e-05/0.007617, allocations: 128.6 kB / 0.9579 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.216e-05/0.007639, allocations: 35.73 kB / 0.9579 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.007738, allocations: 89.66 kB / 0.958 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.007818, allocations: 334.8 kB / 0.9583 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.008057, allocations: 275 kB / 0.9586 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.008306, allocations: 355.2 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/0.008573, allocations: 369 kB / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.008576, allocations: 0 / 0.9592 GB, free: 10.05 MB / 0.9167 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006036/0.00918, allocations: 0.695 MB / 0.9599 GB, free: 9.305 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.676e-05/0.009237, allocations: 138.7 kB / 0.9601 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.009242, allocations: 4 kB / 0.9601 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.009255, allocations: 4 kB / 0.9601 GB, free: 9.137 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.009312, allocations: 15.94 kB / 0.9601 GB, free: 9.121 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.009318, allocations: 4 kB / 0.9601 GB, free: 9.117 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.009619, allocations: 107.8 kB / 0.9602 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-05/0.009653, allocations: 39.91 kB / 0.9602 GB, free: 8.973 MB / 0.9167 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.0001053/0.009758, allocations: 149.7 kB / 0.9604 GB, free: 8.816 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.00978, allocations: 28.03 kB / 0.9604 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.898e-05/0.009809, allocations: 21.33 kB / 0.9604 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.009812, allocations: 4 kB / 0.9604 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.009817, allocations: 4 kB / 0.9604 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.009821, allocations: 3.984 kB / 0.9604 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.009961, allocations: 216.5 kB / 0.9606 GB, free: 8.496 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.009963, allocations: 4 kB / 0.9606 GB, free: 8.492 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.009982, allocations: 7.938 kB / 0.9606 GB, free: 8.484 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.009984, allocations: 4 kB / 0.9606 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.009994, allocations: 11.98 kB / 0.9607 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.009995, allocations: 0 / 0.9607 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009996, allocations: 0 / 0.9607 GB, free: 8.469 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.01031, allocations: 219.4 kB / 0.9609 GB, free: 8.227 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.108e-05/0.01033, allocations: 19.8 kB / 0.9609 GB, free: 8.207 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01034, allocations: 12 kB / 0.9609 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.999e-05/0.01037, allocations: 7.984 kB / 0.9609 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.01041, allocations: 11.98 kB / 0.9609 GB, free: 8.176 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.01041, allocations: 8 kB / 0.9609 GB, free: 8.168 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 9.404e-05/0.01051, allocations: 173.2 kB / 0.9611 GB, free: 8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01051, allocations: 0 / 0.9611 GB, free: 8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002713/0.01078, allocations: 67.95 kB / 0.9612 GB, free: 7.934 MB / 0.9167 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.0004039/0.01118, allocations: 0.7624 MB / 0.9619 GB, free: 7.137 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004723/0.01165, allocations: 0.6095 MB / 0.9625 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01166, allocations: 0 / 0.9625 GB, free: 6.453 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.01179, allocations: 59.86 kB / 0.9626 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.01205, allocations: 68.8 kB / 0.9626 GB, free: 6.328 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002822/0.01487, allocations: 3.541 MB / 0.9661 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.459e-05/0.01493, allocations: 116.9 kB / 0.9662 GB, free: 2.352 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.519e-05/0.01499, allocations: 21.62 kB / 0.9662 GB, free: 2.328 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.01505, allocations: 64.47 kB / 0.9663 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of SimCode: time 5.01e-07/0.01505, allocations: 0 / 0.9663 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.03838, allocations: 7.633 MB / 0.9737 GB, free: 10.89 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.81/6.848, allocations: 10.25 kB / 0.9737 GB, free: 10.89 MB / 0.9323 GB " [Timeout remaining time 293] (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/jenkins/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: 10.854585835710168]