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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00111/0.00111, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.239/1.239, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.446/2.446, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 63.16 kB / 0.8985 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2344, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001692/0.2362, allocations: 0.6684 MB / 1.053 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.2369, allocations: 0.7962 MB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.993e-05/0.2369, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.464e-05/0.237, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.237, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.079e-05/0.2371, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.756e-05/0.2371, allocations: 19.92 kB / 1.054 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.2372, allocations: 4 kB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.944e-05/0.2372, allocations: 15.92 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.567e-05/0.2372, allocations: 4 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.2373, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.2373, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.2373, allocations: 0 / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.28e-05/0.2373, allocations: 19.86 kB / 1.054 GB, free: 6.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.695e-05/0.2374, allocations: 15.97 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2374, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.32e-07/0.2374, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.2374, allocations: 0 / 1.054 GB, free: 6.648 MB / 0.8106 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.0003526/0.2377, allocations: 331.9 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.2378, allocations: 15.91 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.014e-05/0.2378, allocations: 30.75 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.777e-05/0.2378, allocations: 0.9375 kB / 1.054 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.708e-05/0.2379, allocations: 184.1 kB / 1.054 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.238, allocations: 384 / 1.054 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.238, allocations: 4.375 kB / 1.054 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.2381, allocations: 38.25 kB / 1.054 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.2381, allocations: 7.938 kB / 1.054 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-06/0.2381, allocations: 4 kB / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.2381, allocations: 0 / 1.054 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.2383, allocations: 31.95 kB / 1.054 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001223/0.2384, allocations: 149.7 kB / 1.054 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.937e-05/0.2385, allocations: 34.53 kB / 1.055 GB, free: 5.672 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.229e-05/0.2386, allocations: 24.91 kB / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-06/0.2386, allocations: 0 / 1.055 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.601e-05/0.2386, allocations: 30.56 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.2386, allocations: 0 / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002695/0.2389, allocations: 81.67 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.56e-05/0.2389, allocations: 51.41 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.239, allocations: 105.8 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.239, allocations: 25.7 kB / 1.055 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.671e-05/0.2391, allocations: 84.14 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/0.2391, allocations: 0 / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.2391, allocations: 13.72 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.051e-05/0.2392, allocations: 314.8 kB / 1.055 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.2393, allocations: 16.02 kB / 1.055 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.2393, allocations: 19.97 kB / 1.055 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2395, allocations: 28.83 kB / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2395, allocations: 0 / 1.055 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001611/0.2397, allocations: 69.62 kB / 1.055 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.2397, allocations: 7.938 kB / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2397, allocations: 0 / 1.055 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2397, allocations: 3.938 kB / 1.055 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.578e-05/0.2398, allocations: 8 kB / 1.055 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.2398, allocations: 0 / 1.055 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.2398, allocations: 7.984 kB / 1.055 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.2398, allocations: 7.875 kB / 1.055 GB, free: 4.715 MB / 0.8106 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.494e-05/0.2399, allocations: 113.9 kB / 1.055 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.2399, allocations: 3.938 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.442e-05/0.2399, allocations: 7.125 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2399, allocations: 3.984 kB / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2399, allocations: 0 / 1.056 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.24, allocations: 4 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.281e-05/0.24, allocations: 153.7 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2401, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-05/0.2401, allocations: 7.984 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.2401, allocations: 3.938 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.2401, allocations: 4 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2401, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2401, allocations: 0 / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.2403, allocations: 81.05 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.918e-05/0.2403, allocations: 85.09 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.2404, allocations: 3.938 kB / 1.056 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.807e-05/0.2404, allocations: 8.031 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.2404, allocations: 4.172 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.2404, allocations: 0 / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.188e-05/0.2405, allocations: 87.27 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2405, allocations: 0 / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001667/0.2407, allocations: 4 kB / 1.056 GB, free: 4.059 MB / 0.8106 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.0004199/0.2411, allocations: 0.6201 MB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001648/0.2413, allocations: 39.89 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2413, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.2413, allocations: 20.08 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.2415, allocations: 9.031 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.2418, allocations: 124.9 kB / 1.057 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001891/0.242, allocations: 0.6731 MB / 1.057 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.233e-05/0.242, allocations: 3.984 kB / 1.057 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.2421, allocations: 7.438 kB / 1.057 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.2421, allocations: 64 / 1.057 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008963/0.2511, allocations: 1.025 MB / 1.058 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.2513, allocations: 215.9 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.461/1.712, allocations: 0 / 1.059 GB, free: 1.293 MB / 0.8106 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