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.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.001461/0.001461, allocations: 105.8 kB / 17.54 MB, free: 4.781 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.001174/0.001174, allocations: 189.9 kB / 20.71 MB, free: 1.625 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.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.203 MB / 190.1 MB " [Timeout remaining time 179] 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.465/2.465, allocations: 476.7 MB / 0.7628 GB, free: 15.22 MB / 0.6075 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.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 0.001808/0.001808, allocations: 67.89 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7682/0.77, allocations: 168.7 MB / 1.271 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001524/0.7715, allocations: 0.6208 MB / 1.272 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0006136/0.7721, allocations: 0.7795 MB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.699e-05/0.7722, allocations: 1.031 kB / 1.273 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.7722, allocations: 3.938 kB / 1.273 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.705e-05/0.7722, allocations: 8.781 kB / 1.273 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.157e-05/0.7723, allocations: 6.688 kB / 1.273 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.646e-05/0.7723, allocations: 17.02 kB / 1.273 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.7724, allocations: 6.578 kB / 1.273 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.7724, allocations: 6.531 kB / 1.273 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.931e-05/0.7724, allocations: 15.89 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.7725, allocations: 0.875 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.222e-06/0.7725, allocations: 1.906 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.7725, allocations: 1.172 kB / 1.273 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.7725, allocations: 10.39 kB / 1.273 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.662e-05/0.7726, allocations: 14.53 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.7726, allocations: 1.031 kB / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7726, allocations: 0 / 1.273 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.7726, allocations: 0 / 1.273 GB, free: 6.723 MB / 0.9981 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.0002959/0.7729, allocations: 332.3 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.7729, allocations: 9.438 kB / 1.273 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.886e-05/0.7729, allocations: 31.55 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.667e-05/0.7729, allocations: 6.359 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.118e-05/0.773, allocations: 171.2 kB / 1.273 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.773, allocations: 4.375 kB / 1.273 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.773, allocations: 1.219 kB / 1.273 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.7731, allocations: 46.05 kB / 1.273 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.7732, allocations: 3.938 kB / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.7732, allocations: 0 / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.075e-06/0.7732, allocations: 0.875 kB / 1.273 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.7733, allocations: 29.64 kB / 1.273 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.445e-05/0.7734, allocations: 160.6 kB / 1.274 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.792e-05/0.7735, allocations: 36.23 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.8e-05/0.7736, allocations: 22.5 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.7736, allocations: 0.6875 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.7736, allocations: 32.14 kB / 1.274 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.7736, allocations: 4.812 kB / 1.274 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0002813/0.7739, allocations: 74.39 kB / 1.274 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.012e-05/0.7739, allocations: 53.3 kB / 1.274 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.223e-05/0.774, allocations: 108.1 kB / 1.274 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.774, allocations: 26.45 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.523e-05/0.774, allocations: 81.64 kB / 1.274 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.774, allocations: 8.797 kB / 1.274 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.213e-05/0.774, allocations: 11.97 kB / 1.274 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.421e-05/0.774, allocations: 317 kB / 1.274 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.7741, allocations: 12.67 kB / 1.274 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.658e-05/0.7742, allocations: 12.95 kB / 1.274 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.7743, allocations: 39.44 kB / 1.274 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.7743, allocations: 0 / 1.274 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001571/0.7745, allocations: 59.72 kB / 1.274 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.7745, allocations: 11.47 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.7745, allocations: 0 / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.7745, allocations: 8.688 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.7746, allocations: 7.891 kB / 1.275 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.7746, allocations: 4.031 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.7746, allocations: 8.219 kB / 1.275 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.7746, allocations: 0.6875 kB / 1.275 GB, free: 5.059 MB / 0.9981 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 3.28e-05/0.7747, allocations: 108 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-06/0.7747, allocations: 8.562 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.7747, allocations: 3.906 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.7747, allocations: 0.8125 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.7747, allocations: 4 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.7747, allocations: 6.125 kB / 1.275 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.499e-05/0.7747, allocations: 152.6 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.7747, allocations: 0 / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.7748, allocations: 9.094 kB / 1.275 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7748, allocations: 4.812 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.7748, allocations: 3.938 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7748, allocations: 0.8438 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7748, allocations: 0 / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.775, allocations: 88.31 kB / 1.275 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.775, allocations: 82.73 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.427e-06/0.775, allocations: 4.688 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.775, allocations: 7.141 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.775, allocations: 1.469 kB / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.775, allocations: 0 / 1.275 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.928e-05/0.7751, allocations: 83.89 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7751, allocations: 4.031 kB / 1.275 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001619/0.7752, allocations: 2.562 kB / 1.275 GB, free: 4.469 MB / 0.9981 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.0003267/0.7756, allocations: 0.6171 MB / 1.276 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.7757, allocations: 39.42 kB / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.7757, allocations: 0 / 1.276 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.181e-05/0.7758, allocations: 19.95 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.776, allocations: 2.312 kB / 1.276 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002687/0.7762, allocations: 130.4 kB / 1.276 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.91e-05/0.7763, allocations: 0.678 MB / 1.277 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.7763, allocations: 0 / 1.277 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.7763, allocations: 12.14 kB / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.7763, allocations: 0 / 1.277 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.7987, allocations: 1.199 MB / 1.278 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.888/7.687, allocations: 5.781 kB / 1.278 GB, free: 2.656 MB / 0.9981 GB " [Timeout remaining time 292] (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 --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/jenkins1/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: 12.884651291999944]