Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001665/0.001665, allocations: 106.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001768/0.001768, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.713/2.713, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 71.89 kB / 1.104 GB, free: 9.242 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.842/0.844, allocations: 168.7 MB / 1.269 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002154/0.8461, allocations: 0.7262 MB / 1.269 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001694/0.8478, allocations: 1.144 MB / 1.271 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.883e-05/0.8479, allocations: 0 / 1.271 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.976e-05/0.8479, allocations: 3.938 kB / 1.271 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.07e-05/0.848, allocations: 11.92 kB / 1.271 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005067/0.8485, allocations: 135.1 kB / 1.271 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.8487, allocations: 127.7 kB / 1.271 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.941e-05/0.8488, allocations: 8 kB / 1.271 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.8489, allocations: 51.89 kB / 1.271 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.849, allocations: 35.89 kB / 1.271 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.8491, allocations: 12 kB / 1.271 GB, free: 2.918 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.713e-05/0.8492, allocations: 27.98 kB / 1.271 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.8492, allocations: 7.938 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.691e-05/0.8493, allocations: 51.77 kB / 1.271 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.8495, allocations: 129.5 kB / 1.271 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.8495, allocations: 8 kB / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.134e-06/0.8495, allocations: 0 / 1.271 GB, free: 2.699 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.8495, allocations: 0 / 1.271 GB, free: 2.699 MB / 0.9669 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.0006501/0.8501, allocations: 392.9 kB / 1.272 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.8502, allocations: 12.03 kB / 1.272 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.8502, allocations: 34.73 kB / 1.272 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.8503, allocations: 4.938 kB / 1.272 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.8505, allocations: 180.3 kB / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.8505, allocations: 384 / 1.272 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.8505, allocations: 8.375 kB / 1.272 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.8506, allocations: 50.23 kB / 1.272 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8506, allocations: 11.81 kB / 1.272 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.8507, allocations: 7.984 kB / 1.272 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.8507, allocations: 0 / 1.272 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.8507, allocations: 8 kB / 1.272 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.8512, allocations: 332.8 kB / 1.272 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.312e-05/0.8513, allocations: 30.58 kB / 1.272 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.8513, allocations: 16.78 kB / 1.272 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.8513, allocations: 4.062 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.8514, allocations: 59.39 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.8514, allocations: 0 / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002147/0.8517, allocations: 69.69 kB / 1.272 GB, free: 1.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.8517, allocations: 51.41 kB / 1.272 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.8518, allocations: 146 kB / 1.273 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.8519, allocations: 25.7 kB / 1.273 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.715e-05/0.8519, allocations: 92.12 kB / 1.273 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.8519, allocations: 19.83 kB / 1.273 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.852, allocations: 29.7 kB / 1.273 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.8522, allocations: 318.8 kB / 1.273 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.622e-05/0.8523, allocations: 35.98 kB / 1.273 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.57e-05/0.8523, allocations: 62.55 kB / 1.273 GB, free: 0.4922 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.8525, allocations: 88.22 kB / 1.273 GB, free: 400 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8525, allocations: 8.062 kB / 1.273 GB, free: 392 kB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002788/0.8528, allocations: 163.2 kB / 1.273 GB, free: 216 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.8528, allocations: 37.7 kB / 1.273 GB, free: 172 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.8528, allocations: 4 kB / 1.273 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.8528, allocations: 64 / 1.273 GB, free: 168 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.329e-05/0.8529, allocations: 4 kB / 1.273 GB, free: 164 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.8529, allocations: 4 kB / 1.273 GB, free: 160 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.8531, allocations: 23.97 kB / 1.273 GB, free: 136 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.282e-05/0.8531, allocations: 7.984 kB / 1.273 GB, free: 128 kB / 0.9669 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 0.0001121/0.8532, allocations: 117.8 kB / 1.274 GB, free: 0 / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.334e-05/0.8532, allocations: 8 kB / 1.274 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.425e-05/0.8533, allocations: 7.906 kB / 1.274 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.8533, allocations: 11.94 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8533, allocations: 3.938 kB / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.8533, allocations: 0 / 1.274 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.8534, allocations: 169.6 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.8535, allocations: 0 / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.631e-05/0.8535, allocations: 7.938 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8535, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.8535, allocations: 3.984 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.8535, allocations: 0 / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8535, allocations: 4 kB / 1.274 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.8536, allocations: 93.25 kB / 1.274 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.8537, allocations: 85.14 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.8537, allocations: 0 / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.8537, allocations: 3.984 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.8538, allocations: 4 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.8538, allocations: 4 kB / 1.274 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.298e-05/0.8539, allocations: 99.31 kB / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.8539, allocations: 0 / 1.274 GB, free: 15.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002241/0.8541, allocations: 27.95 kB / 1.274 GB, free: 15.38 MB / 0.9825 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.0006237/0.8547, allocations: 0.6387 MB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.855, allocations: 123.3 kB / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.855, allocations: 0 / 1.275 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.855, allocations: 20.11 kB / 1.275 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.8552, allocations: 18.05 kB / 1.275 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.8571, allocations: 1.496 MB / 1.276 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.8574, allocations: 0.6885 MB / 1.277 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.8575, allocations: 0 / 1.277 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.8575, allocations: 23.42 kB / 1.277 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.8575, allocations: 3.938 kB / 1.277 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02957/0.8871, allocations: 2.379 MB / 1.279 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.279/9.166, allocations: 8.641 kB / 1.279 GB, free: 9.945 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.063136126846075]