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.0007795/0.0007795, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.001217/0.001217, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8972/0.8972, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.796/1.796, 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.484e-06/2.484e-06, allocations: 3.938 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.248e-05/2.497e-05, allocations: 10.16 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.00206/0.002085, allocations: 0.6975 MB / 1 GB, free: 12.73 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.003606, allocations: 1.155 MB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.003663, allocations: 0 / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.003697, allocations: 3.938 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.312e-05/0.00379, allocations: 23.81 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.004336, allocations: 122.3 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002424/0.004578, allocations: 131.7 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.004714, allocations: 8 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001428/0.004856, allocations: 67.83 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.004984, allocations: 35.94 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.005016, allocations: 12 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.386e-05/0.00509, allocations: 27.98 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.005113, allocations: 7.938 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.412e-05/0.005177, allocations: 35.97 kB / 1.002 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.005415, allocations: 151.6 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.005419, allocations: 0 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.804e-06/0.005421, allocations: 0 / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.005426, allocations: 0 / 1.002 GB, free: 10.95 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.0005049/0.005931, allocations: 327.8 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.005978, allocations: 8.75 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.006011, allocations: 30.75 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.807e-05/0.006059, allocations: 16.88 kB / 1.002 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.00618, allocations: 121.7 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.0062, allocations: 8.375 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.006218, allocations: 4.375 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.00632, allocations: 50.12 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.00633, allocations: 192 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.006339, allocations: 384 / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.006348, allocations: 8.125 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.006398, allocations: 12 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004306/0.006828, allocations: 272 kB / 1.003 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.104e-05/0.006909, allocations: 38.56 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.253e-05/0.006932, allocations: 8.797 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.006943, allocations: 12 kB / 1.003 GB, free: 9.918 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.007112, allocations: 63.39 kB / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.007114, allocations: 0 / 1.003 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002153/0.007329, allocations: 73.64 kB / 1.003 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.007375, allocations: 63.33 kB / 1.003 GB, free: 9.691 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.007479, allocations: 121.8 kB / 1.003 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.007503, allocations: 29.7 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.583e-05/0.007559, allocations: 92.12 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.007573, allocations: 7.906 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.327e-05/0.007636, allocations: 29.7 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.007734, allocations: 322.8 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.007845, allocations: 73.61 kB / 1.004 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.00795, allocations: 84.27 kB / 1.004 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.008066, allocations: 96.27 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008068, allocations: 0 / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002746/0.008342, allocations: 200.9 kB / 1.004 GB, free: 8.566 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.008378, allocations: 39.42 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008383, allocations: 0 / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.008396, allocations: 4.062 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.399e-05/0.00845, allocations: 4 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.008458, allocations: 7.984 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001621/0.00862, allocations: 27.92 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.008638, allocations: 4 kB / 1.004 GB, free: 8.477 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 8.322e-05/0.008721, allocations: 113.8 kB / 1.004 GB, free: 8.355 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.008734, allocations: 7.938 kB / 1.004 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/0.008766, allocations: 19.92 kB / 1.004 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.008768, allocations: 0 / 1.004 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008773, allocations: 4 kB / 1.004 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.008777, allocations: 0 / 1.004 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.008887, allocations: 140.7 kB / 1.005 GB, free: 8.137 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.008889, allocations: 4.172 kB / 1.005 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.077e-05/0.00891, allocations: 7.922 kB / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.008913, allocations: 0 / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.00892, allocations: 0 / 1.005 GB, free: 8.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.008922, allocations: 4 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.008925, allocations: 3.984 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.009038, allocations: 85.08 kB / 1.005 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.009053, allocations: 11.89 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.009068, allocations: 7.984 kB / 1.005 GB, free: 7.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.518e-05/0.009093, allocations: 8 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.352e-05/0.009116, allocations: 0 / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.009122, allocations: 0 / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.759e-05/0.00918, allocations: 99.7 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.00918, allocations: 0 / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002384/0.009418, allocations: 16 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.0004144/0.009833, allocations: 0.6397 MB / 1.005 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002302/0.01006, allocations: 161 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01006, allocations: 0 / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.889e-05/0.01009, allocations: 12 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.01034, allocations: 26.48 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.00143/0.01177, allocations: 1.62 MB / 1.007 GB, free: 5.25 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.602e-05/0.0118, allocations: 71.28 kB / 1.007 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.417e-05/0.01183, allocations: 12.11 kB / 1.007 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.547e-05/0.01186, allocations: 20.5 kB / 1.007 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of SimCode: time 7.61e-07/0.01186, allocations: 0 / 1.007 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.02767, allocations: 3.144 MB / 1.01 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/6.668, allocations: 9.422 kB / 1.01 GB, free: 2.137 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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.882005956955254]