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.001107/0.001107, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001145/0.001145, allocations: 190 kB / 16.25 MB, free: 6.648 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.251/1.251, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.494/2.494, allocations: 461.9 MB / 0.7343 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 61.23 kB / 0.8987 GB, free: 37.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2734, allocations: 157.4 MB / 1.052 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Ramp): time 0.001813/0.2753, allocations: 0.6624 MB / 1.053 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007115/0.276, allocations: 0.8 MB / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.2761, allocations: 0 / 1.054 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.6e-05/0.2761, allocations: 4 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.836e-05/0.2762, allocations: 0 / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.523e-05/0.2762, allocations: 4 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.127e-05/0.2763, allocations: 19.92 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.922e-05/0.2763, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.056e-05/0.2763, allocations: 11.98 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.93e-05/0.2764, allocations: 7.938 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.2764, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 5.72e-06/0.2764, allocations: 0 / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.036e-05/0.2764, allocations: 4 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.2765, allocations: 15.92 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.305e-05/0.2765, allocations: 11.98 kB / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2765, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2765, allocations: 0 / 1.054 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.2765, allocations: 0 / 1.054 GB, free: 7.043 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.0003505/0.2769, allocations: 331.8 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2769, allocations: 8.625 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.614e-05/0.277, allocations: 30.75 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.071e-05/0.277, allocations: 8.938 kB / 1.054 GB, free: 6.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.2771, allocations: 180.2 kB / 1.054 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.2771, allocations: 4.312 kB / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.2771, allocations: 384 / 1.054 GB, free: 6.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.2773, allocations: 42.25 kB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.2773, allocations: 3.938 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.2773, allocations: 3.938 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.2773, allocations: 0 / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.2774, allocations: 35.95 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.2776, allocations: 153.7 kB / 1.055 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.622e-05/0.2777, allocations: 38.48 kB / 1.055 GB, free: 6.059 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.953e-05/0.2777, allocations: 16.91 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.758e-06/0.2778, allocations: 0 / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.252e-05/0.2778, allocations: 34.56 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.2778, allocations: 0 / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0002708/0.2781, allocations: 77.58 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.2781, allocations: 51.41 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/0.2782, allocations: 105.8 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2782, allocations: 25.7 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.96e-05/0.2782, allocations: 84.27 kB / 1.055 GB, free: 5.621 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.2782, allocations: 7.938 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.2783, allocations: 9.719 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.241e-05/0.2784, allocations: 318.8 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.2785, allocations: 15.98 kB / 1.055 GB, free: 5.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.148e-05/0.2785, allocations: 15.97 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.2787, allocations: 36.89 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2787, allocations: 0 / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001611/0.2788, allocations: 61.56 kB / 1.056 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.2788, allocations: 7.938 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2789, allocations: 0 / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2789, allocations: 4 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.662e-05/0.279, allocations: 8 kB / 1.056 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.279, allocations: 7.969 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.137e-05/0.279, allocations: 7.984 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.279, allocations: 0 / 1.056 GB, free: 5.105 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.838e-05/0.2791, allocations: 105.8 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.2791, allocations: 7.938 kB / 1.056 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.594e-05/0.2791, allocations: 7.109 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.42e-07/0.2791, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2791, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.2791, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.507e-05/0.2792, allocations: 157.7 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2792, allocations: 3.938 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.2793, allocations: 7.984 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2793, allocations: 3.938 kB / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2793, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.2793, allocations: 0 / 1.056 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.2793, allocations: 8 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.2795, allocations: 81.11 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.2795, allocations: 81.09 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.2795, allocations: 7.875 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.11e-05/0.2796, allocations: 8 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.994e-05/0.2796, allocations: 3.984 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.2796, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.2797, allocations: 79.28 kB / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2797, allocations: 32 / 1.056 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001654/0.2798, allocations: 8 kB / 1.056 GB, free: 4.453 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.0004329/0.2803, allocations: 0.6262 MB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001719/0.2805, allocations: 39.92 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2805, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.024e-05/0.2805, allocations: 15.98 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.2807, allocations: 3.938 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.2811, allocations: 123.4 kB / 1.057 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2813, allocations: 0.6768 MB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.3e-05/0.2813, allocations: 3.984 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.914e-05/0.2813, allocations: 15.44 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2813, allocations: 0 / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.369/1.65, allocations: 1.065 MB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/1.65, allocations: 207.5 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.507/3.157, allocations: 7.016 kB / 1.059 GB, free: 1.668 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