Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007028/0.007028, allocations: 103.3 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 190.1 kB / 16.67 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.546/2.546, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 67.88 kB / 1.054 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8374/0.8387, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.002203/0.841, allocations: 0.5998 MB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009889/0.842, allocations: 0.7884 MB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.916e-05/0.842, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.8421, allocations: 3.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.548e-05/0.8421, allocations: 0 / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.318e-05/0.8422, allocations: 7.984 kB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.8423, allocations: 15.94 kB / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.8423, allocations: 0 / 1.209 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.323e-05/0.8424, allocations: 15.98 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.576e-05/0.8424, allocations: 7.938 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.8424, allocations: 0 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 5.22e-06/0.8425, allocations: 0 / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.524e-05/0.8425, allocations: 7.984 kB / 1.209 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.388e-05/0.8425, allocations: 7.984 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.116e-05/0.8426, allocations: 19.91 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.8426, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.352e-06/0.8426, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.8426, allocations: 0 / 1.209 GB, free: 12.07 MB / 0.9356 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.00052/0.8431, allocations: 333.7 kB / 1.209 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.8432, allocations: 11.97 kB / 1.209 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.039e-05/0.8432, allocations: 38.67 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.058e-05/0.8433, allocations: 0.9375 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.8435, allocations: 164.4 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.8435, allocations: 384 / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-06/0.8435, allocations: 384 / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.8437, allocations: 46.23 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.8437, allocations: 11.92 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.8437, allocations: 4 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.8437, allocations: 4 kB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.8439, allocations: 23.97 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002373/0.8441, allocations: 149.7 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.8442, allocations: 38.53 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.8443, allocations: 24.89 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.8443, allocations: 0 / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.034e-05/0.8444, allocations: 34.56 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.8444, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0003335/0.8448, allocations: 81.59 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.8448, allocations: 55.41 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.8449, allocations: 101.8 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.8449, allocations: 25.7 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.336e-05/0.845, allocations: 84.14 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.377e-05/0.845, allocations: 3.906 kB / 1.21 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.845, allocations: 13.72 kB / 1.21 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.8452, allocations: 322.8 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.038e-05/0.8453, allocations: 15.98 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.8453, allocations: 11.98 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.8455, allocations: 32.83 kB / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8455, allocations: 0 / 1.21 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001839/0.8457, allocations: 69.66 kB / 1.21 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.8457, allocations: 9.812 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.8457, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8457, allocations: 0 / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.8458, allocations: 11.98 kB / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8458, allocations: 0 / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.8459, allocations: 4 kB / 1.21 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.8459, allocations: 0 / 1.21 GB, free: 10.15 MB / 0.9356 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 9.017e-05/0.846, allocations: 109.9 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.888e-06/0.846, allocations: 7.938 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.242e-05/0.846, allocations: 11.12 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.8461, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8461, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.8461, allocations: 0 / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000157/0.8462, allocations: 153.6 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.8462, allocations: 0 / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.8463, allocations: 7.984 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.8463, allocations: 3.938 kB / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.8463, allocations: 0 / 1.211 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8463, allocations: 4 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8463, allocations: 0 / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.8465, allocations: 93.03 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.8467, allocations: 81.02 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.8467, allocations: 3.938 kB / 1.211 GB, free: 9.586 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.551e-05/0.8467, allocations: 15.95 kB / 1.211 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.781e-05/0.8468, allocations: 4 kB / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.8468, allocations: 0 / 1.211 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.994e-05/0.8468, allocations: 83.28 kB / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8468, allocations: 0 / 1.211 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001739/0.847, allocations: 4 kB / 1.211 GB, free: 9.48 MB / 0.9356 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.0005379/0.8476, allocations: 0.6163 MB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.8478, allocations: 39.89 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8478, allocations: 0 / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.18e-05/0.8479, allocations: 20.08 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.8481, allocations: 8 kB / 1.212 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.8485, allocations: 131.1 kB / 1.212 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.8489, allocations: 0.6771 MB / 1.212 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.626e-05/0.849, allocations: 0 / 1.212 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.643e-05/0.849, allocations: 7.438 kB / 1.212 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.849, allocations: 0 / 1.212 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/0.8685, allocations: 1.236 MB / 1.214 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.582, allocations: 8.047 kB / 1.214 GB, free: 6.746 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches