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.001587/0.001587, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001823/0.001823, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.446/1.446, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.762/2.762, allocations: 476.7 MB / 0.7611 GB, free: 15.74 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.003202/0.003202, allocations: 67.91 kB / 1.104 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042/1.045, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002108/1.047, allocations: 0.6059 MB / 1.269 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009803/1.048, allocations: 0.7932 MB / 1.27 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/1.048, allocations: 0.7188 kB / 1.27 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/1.048, allocations: 1.312 kB / 1.27 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/1.048, allocations: 5.156 kB / 1.27 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.899e-05/1.048, allocations: 2.438 kB / 1.27 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.987e-05/1.048, allocations: 17.02 kB / 1.27 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.512e-05/1.048, allocations: 6.594 kB / 1.27 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/1.048, allocations: 6.797 kB / 1.27 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.73e-05/1.048, allocations: 12.64 kB / 1.27 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/1.048, allocations: 5.5 kB / 1.27 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/1.048, allocations: 1.688 kB / 1.27 GB, free: 6.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.605e-05/1.048, allocations: 4.516 kB / 1.27 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/1.048, allocations: 14.7 kB / 1.27 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.878e-05/1.048, allocations: 13.78 kB / 1.27 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.048, allocations: 4.781 kB / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/1.048, allocations: 0 / 1.27 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.23e-06/1.048, allocations: 0 / 1.27 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.0003717/1.049, allocations: 332.5 kB / 1.271 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.049, allocations: 9.344 kB / 1.271 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.144e-05/1.049, allocations: 32.33 kB / 1.271 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.077e-05/1.049, allocations: 5.812 kB / 1.271 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/1.049, allocations: 167.7 kB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/1.049, allocations: 384 / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/1.049, allocations: 1.125 kB / 1.271 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/1.049, allocations: 45.67 kB / 1.271 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/1.049, allocations: 3.938 kB / 1.271 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/1.049, allocations: 0.7812 kB / 1.271 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/1.049, allocations: 0 / 1.271 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/1.049, allocations: 37.83 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001135/1.049, allocations: 153.1 kB / 1.271 GB, free: 5.883 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/1.05, allocations: 28.56 kB / 1.271 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.374e-05/1.05, allocations: 21.91 kB / 1.271 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/1.05, allocations: 4.547 kB / 1.271 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/1.05, allocations: 36.03 kB / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/1.05, allocations: 0 / 1.271 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0003154/1.05, allocations: 79.97 kB / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.559e-05/1.05, allocations: 51.41 kB / 1.271 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.613e-05/1.05, allocations: 101.7 kB / 1.271 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/1.05, allocations: 29.83 kB / 1.271 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/1.05, allocations: 82.16 kB / 1.271 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/1.05, allocations: 3.953 kB / 1.271 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/1.05, allocations: 12.97 kB / 1.271 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/1.05, allocations: 320.1 kB / 1.272 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/1.05, allocations: 13.16 kB / 1.272 GB, free: 5.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/1.05, allocations: 16.94 kB / 1.272 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/1.051, allocations: 34.98 kB / 1.272 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/1.051, allocations: 5 kB / 1.272 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001656/1.051, allocations: 59.3 kB / 1.272 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/1.051, allocations: 9.125 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/1.051, allocations: 0.75 kB / 1.272 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.051, allocations: 4.688 kB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/1.051, allocations: 6.953 kB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.051, allocations: 1.375 kB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/1.051, allocations: 5.531 kB / 1.272 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.051, allocations: 4.531 kB / 1.272 GB, free: 5.07 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 4.909e-05/1.051, allocations: 111.8 kB / 1.272 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/1.051, allocations: 6.031 kB / 1.272 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.176e-05/1.051, allocations: 4.594 kB / 1.272 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/1.051, allocations: 4 kB / 1.272 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.051, allocations: 5.25 kB / 1.272 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/1.051, allocations: 0.5312 kB / 1.272 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.931e-05/1.051, allocations: 153.1 kB / 1.272 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.051, allocations: 1.031 kB / 1.272 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.276e-05/1.051, allocations: 6.625 kB / 1.272 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/1.051, allocations: 5.391 kB / 1.272 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/1.051, allocations: 0 / 1.272 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.051, allocations: 4.688 kB / 1.272 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.051, allocations: 0.5156 kB / 1.272 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/1.051, allocations: 88.64 kB / 1.272 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/1.051, allocations: 78.64 kB / 1.272 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/1.051, allocations: 5.172 kB / 1.272 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/1.051, allocations: 10.11 kB / 1.272 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/1.051, allocations: 2.016 kB / 1.272 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/1.051, allocations: 0.7812 kB / 1.272 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.435e-05/1.051, allocations: 87.91 kB / 1.272 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.051, allocations: 0 / 1.272 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001721/1.052, allocations: 3.25 kB / 1.272 GB, free: 4.48 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.0004294/1.052, allocations: 0.6307 MB / 1.273 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002018/1.052, allocations: 31.67 kB / 1.273 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.052, allocations: 0 / 1.273 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/1.052, allocations: 18.02 kB / 1.273 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/1.053, allocations: 3.062 kB / 1.273 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/1.053, allocations: 135.7 kB / 1.273 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/1.053, allocations: 0.6735 MB / 1.274 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.511e-05/1.053, allocations: 1.375 kB / 1.274 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.35e-05/1.053, allocations: 9.172 kB / 1.274 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/1.053, allocations: 0 / 1.274 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/1.078, allocations: 1.231 MB / 1.275 GB, free: 18.64 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.169/9.247, allocations: 8.562 kB / 1.275 GB, free: 18.63 MB / 1.014 GB " [Timeout remaining time 291] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.403117705136538]