Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.0007965/0.0007965, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008412/0.0008412, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.861/0.861, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.74/1.74, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.07e-05/2.302e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001306/0.001329, allocations: 0.7052 MB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.002413, allocations: 1.144 MB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.002456, allocations: 0 / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.702e-05/0.002483, allocations: 7.938 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.002559, allocations: 7.875 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.002966, allocations: 138.4 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.00015/0.003116, allocations: 139.7 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.003199, allocations: 0 / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.003286, allocations: 71.88 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.003367, allocations: 27.95 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.003387, allocations: 16 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.117e-05/0.003439, allocations: 20 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.003459, allocations: 15.92 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.003502, allocations: 31.97 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.003665, allocations: 151.6 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.003671, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.292e-06/0.003673, allocations: 0 / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.003676, allocations: 4 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003801/0.004057, allocations: 323.8 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.004093, allocations: 12.75 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.392e-05/0.004117, allocations: 34.69 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.004151, allocations: 8.891 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.927e-05/0.00424, allocations: 121.7 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.004255, allocations: 8.359 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.004269, allocations: 8.375 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.519e-05/0.004344, allocations: 50.19 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.00435, allocations: 192 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.004358, allocations: 384 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.004363, allocations: 4.125 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.535e-05/0.004398, allocations: 12 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/0.004729, allocations: 275.9 kB / 1.003 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.004784, allocations: 34.56 kB / 1.003 GB, free: 9.953 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.004803, allocations: 16.91 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.004812, allocations: 3.938 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.004932, allocations: 67.39 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.004933, allocations: 3.938 kB / 1.003 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001662/0.005099, allocations: 73.64 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.00513, allocations: 51.41 kB / 1.003 GB, free: 9.707 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.175e-05/0.005212, allocations: 129.8 kB / 1.003 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.005228, allocations: 25.7 kB / 1.003 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.602e-05/0.005274, allocations: 88.14 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.00529, allocations: 19.89 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.562e-05/0.005335, allocations: 29.7 kB / 1.003 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/0.005413, allocations: 314.8 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.005491, allocations: 73.67 kB / 1.004 GB, free: 9 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.275e-05/0.005563, allocations: 96.2 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.609e-05/0.005649, allocations: 92.2 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.005652, allocations: 0 / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001925/0.005844, allocations: 196.9 kB / 1.004 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.005872, allocations: 37.7 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005876, allocations: 0 / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005887, allocations: 0 / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.005934, allocations: 4 kB / 1.004 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.00594, allocations: 8 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.006056, allocations: 27.92 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.006071, allocations: 11.98 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 6.383e-05/0.006135, allocations: 113.8 kB / 1.004 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.006145, allocations: 7.938 kB / 1.004 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.123e-05/0.006166, allocations: 11.94 kB / 1.004 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.006168, allocations: 0 / 1.004 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.006172, allocations: 0 / 1.004 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.006177, allocations: 11.98 kB / 1.004 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.336e-05/0.00626, allocations: 136.7 kB / 1.005 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.006262, allocations: 3.938 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.191e-05/0.006274, allocations: 4 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.006275, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.006281, allocations: 0 / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.006283, allocations: 3.984 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.006284, allocations: 0 / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.092e-05/0.006365, allocations: 93.02 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.006378, allocations: 11.95 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.006389, allocations: 4 kB / 1.005 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.339e-05/0.006403, allocations: 4 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.006426, allocations: 7.984 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-06/0.00643, allocations: 0 / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.006474, allocations: 103.6 kB / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006474, allocations: 0 / 1.005 GB, free: 7.895 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001516/0.006626, allocations: 19.94 kB / 1.005 GB, free: 7.875 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002874/0.006913, allocations: 0.6283 MB / 1.005 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001792/0.007093, allocations: 169 kB / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.007094, allocations: 128 / 1.006 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.003e-05/0.007114, allocations: 12 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.007284, allocations: 30.09 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.008421, allocations: 1.619 MB / 1.007 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.939e-05/0.00846, allocations: 67.34 kB / 1.007 GB, free: 5.164 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.041e-05/0.00849, allocations: 4 kB / 1.007 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.008524, allocations: 24.48 kB / 1.007 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of SimCode: time 6.31e-07/0.008525, allocations: 0 / 1.007 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01596/0.02449, allocations: 3.148 MB / 1.01 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.695/6.72, allocations: 3.938 kB / 1.01 GB, free: 2.148 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.65096499491483]