Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.0008269/0.0008269, 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.001629/0.001629, 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.8872/0.8872, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.619/1.619, allocations: 359 MB / 0.6037 GB, free: 11.1 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.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.274e-06/2.274e-06, allocations: 0 / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.163e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.461 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001305/0.001326, allocations: 0.6117 MB / 0.9511 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006987/0.002025, allocations: 0.8042 MB / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.455e-05/0.002049, allocations: 0 / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.002072, allocations: 0 / 0.9519 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.463e-05/0.002127, allocations: 7.984 kB / 0.9519 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.026e-05/0.002167, allocations: 7.984 kB / 0.9519 GB, free: 2.012 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.36e-05/0.002221, allocations: 19.94 kB / 0.952 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.002258, allocations: 4 kB / 0.952 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.367e-05/0.002322, allocations: 11.98 kB / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.466e-05/0.002347, allocations: 0 / 0.952 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.002365, allocations: 4 kB / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.687e-06/0.002369, allocations: 0 / 0.952 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.002383, allocations: 7.922 kB / 0.952 GB, free: 1.965 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.638e-05/0.002399, allocations: 11.94 kB / 0.952 GB, free: 1.953 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.959e-05/0.002459, allocations: 15.91 kB / 0.952 GB, free: 1.938 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.002462, allocations: 4 kB / 0.952 GB, free: 1.934 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.192e-06/0.002463, allocations: 4 kB / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002466, allocations: 0 / 0.952 GB, free: 1.93 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002843/0.002751, allocations: 254.4 kB / 0.9523 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.436e-05/0.002785, allocations: 8.031 kB / 0.9523 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.484e-05/0.00281, allocations: 34.69 kB / 0.9523 GB, free: 1.598 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.637e-05/0.002826, allocations: 4.938 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/0.002893, allocations: 109.7 kB / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.805e-06/0.0029, allocations: 384 / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-06/0.002906, allocations: 384 / 0.9524 GB, free: 1.461 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001017/0.003008, allocations: 54.23 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.003015, allocations: 192 / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.003022, allocations: 384 / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.003027, allocations: 4.125 kB / 0.9525 GB, free: 1.398 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.003096, allocations: 27.91 kB / 0.9525 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001044/0.0032, allocations: 124.8 kB / 0.9526 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 6.322e-05/0.003263, allocations: 30.59 kB / 0.9526 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.065e-05/0.003304, allocations: 20.91 kB / 0.9527 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.003313, allocations: 4 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.547e-05/0.003328, allocations: 34.56 kB / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 5.31e-07/0.003329, allocations: 0 / 0.9527 GB, free: 1.098 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001847/0.003514, allocations: 81.52 kB / 0.9528 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.93e-05/0.003543, allocations: 59.34 kB / 0.9528 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.003591, allocations: 93.86 kB / 0.9529 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.0036, allocations: 25.83 kB / 0.9529 GB, free: 0.8086 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.652e-05/0.003626, allocations: 96.12 kB / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.003649, allocations: 0 / 0.953 GB, free: 0.7109 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.00367, allocations: 9.719 kB / 0.953 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.938e-05/0.003739, allocations: 310.8 kB / 0.9533 GB, free: 392 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-05/0.003778, allocations: 19.98 kB / 0.9534 GB, free: 372 kB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.00381, allocations: 11.98 kB / 0.9534 GB, free: 360 kB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.179e-05/0.003882, allocations: 40.88 kB / 0.9534 GB, free: 316 kB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003884, allocations: 0 / 0.9534 GB, free: 316 kB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.778e-05/0.003971, allocations: 65.56 kB / 0.9535 GB, free: 244 kB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.003984, allocations: 6.344 kB / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/0.003987, allocations: 0 / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.003997, allocations: 0 / 0.9535 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.004051, allocations: 15.92 kB / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.004055, allocations: 0 / 0.9535 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.139e-05/0.004076, allocations: 12.02 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.00408, allocations: 0 / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.116e-05/0.004132, allocations: 105.8 kB / 0.9536 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-06/0.004136, allocations: 4 kB / 0.9536 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.354e-05/0.004149, allocations: 3.156 kB / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.004151, allocations: 192 / 0.9536 GB, free: 88 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.004155, allocations: 3.938 kB / 0.9536 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.004158, allocations: 3.984 kB / 0.9536 GB, free: 80 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.377e-05/0.004222, allocations: 128.7 kB / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.004222, allocations: 0 / 0.9537 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.031e-05/0.004242, allocations: 11.98 kB / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.52e-07/0.004243, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.004248, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.004248, allocations: 0 / 0.9538 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.00425, allocations: 7.938 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.726e-05/0.004347, allocations: 85.03 kB / 0.9538 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.168e-06/0.004351, allocations: 0 / 0.9538 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.004364, allocations: 0 / 0.9538 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.787e-05/0.004382, allocations: 15.95 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.004412, allocations: 7.938 kB / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.004414, allocations: 0 / 0.9539 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.279e-05/0.004437, allocations: 83.28 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004437, allocations: 0 / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001126/0.004549, allocations: 0 / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002409/0.00479, allocations: 0.6202 MB / 0.9546 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.0049, allocations: 35.98 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.004902, allocations: 0 / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.004941, allocations: 19.98 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.005094, allocations: 3.938 kB / 0.9546 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.005356, allocations: 126.5 kB / 0.9547 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.174e-05/0.005388, allocations: 63.34 kB / 0.9548 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.653e-05/0.005404, allocations: 4.125 kB / 0.9548 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.005433, allocations: 8.5 kB / 0.9548 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of SimCode: time 3.9e-07/0.005433, allocations: 3.938 kB / 0.9548 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/0.01959, allocations: 1.886 MB / 0.9567 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.741, allocations: 1.719 kB / 0.9567 GB, free: 12.96 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.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.54969847947359]