Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.007737/0.007737, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001868/0.001868, allocations: 194.3 kB / 16.68 MB, free: 5.965 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.305/1.305, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.07/4.07, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002553/0.002554, allocations: 75.89 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217/1.219, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.003931/1.223, allocations: 0.6042 MB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001905/1.225, allocations: 0.7784 MB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.479e-05/1.226, allocations: 0.9688 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/1.226, allocations: 3.938 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001229/1.226, allocations: 0 / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.534e-05/1.226, allocations: 11.31 kB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000114/1.226, allocations: 17.97 kB / 1.089 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.855e-05/1.226, allocations: 6.141 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.889e-05/1.226, allocations: 8.188 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/1.226, allocations: 4.844 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/1.226, allocations: 1.062 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.247e-06/1.226, allocations: 2.188 kB / 1.089 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/1.226, allocations: 4.656 kB / 1.089 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.039e-05/1.226, allocations: 6.719 kB / 1.089 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/1.227, allocations: 21.55 kB / 1.089 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/1.227, allocations: 4.516 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.404e-06/1.227, allocations: 1.062 kB / 1.089 GB, free: 4.246 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.358e-06/1.227, allocations: 0 / 1.089 GB, free: 4.246 MB / 0.8575 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.0006109/1.227, allocations: 334.1 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 7.566e-05/1.227, allocations: 9.656 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.389e-05/1.227, allocations: 35.34 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/1.227, allocations: 9.844 kB / 1.089 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/1.228, allocations: 162.7 kB / 1.089 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/1.228, allocations: 1.344 kB / 1.089 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/1.228, allocations: 5.5 kB / 1.089 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002424/1.228, allocations: 45.56 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/1.228, allocations: 3.938 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.228, allocations: 0.5156 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/1.228, allocations: 1.125 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/1.228, allocations: 24.73 kB / 1.09 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/1.228, allocations: 157.2 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/1.229, allocations: 36.14 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/1.229, allocations: 18.3 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/1.229, allocations: 1.828 kB / 1.09 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/1.229, allocations: 34.56 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 2.204e-06/1.229, allocations: 1.062 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0005422/1.229, allocations: 83.06 kB / 1.09 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/1.229, allocations: 52.53 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.972e-05/1.23, allocations: 100.5 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/1.23, allocations: 26.89 kB / 1.09 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/1.23, allocations: 80.75 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/1.23, allocations: 5.094 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-05/1.23, allocations: 24.61 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.757e-05/1.23, allocations: 311.5 kB / 1.09 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/1.23, allocations: 17.94 kB / 1.09 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/1.23, allocations: 12.84 kB / 1.09 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002582/1.23, allocations: 39.45 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.23, allocations: 0 / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003146/1.231, allocations: 63.31 kB / 1.091 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.231, allocations: 12.91 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/1.231, allocations: 5.672 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/1.231, allocations: 0 / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/1.231, allocations: 6.859 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.231, allocations: 1.812 kB / 1.091 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/1.231, allocations: 9.75 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/1.231, allocations: 0 / 1.091 GB, free: 2.582 MB / 0.8575 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 8.512e-05/1.231, allocations: 108.8 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/1.231, allocations: 5.609 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.564e-05/1.231, allocations: 8.984 kB / 1.091 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/1.231, allocations: 3.984 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.231, allocations: 0 / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.231, allocations: 1.547 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/1.231, allocations: 149 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.231, allocations: 4.875 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/1.232, allocations: 7.578 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.232, allocations: 3.938 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/1.232, allocations: 0.6094 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/1.232, allocations: 0.9375 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.232, allocations: 4 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/1.232, allocations: 92.67 kB / 1.091 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.598e-05/1.232, allocations: 78.95 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/1.232, allocations: 5.844 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.686e-05/1.232, allocations: 5.797 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/1.232, allocations: 0.7969 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/1.232, allocations: 2 kB / 1.091 GB, free: 2.078 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.699e-05/1.232, allocations: 83.58 kB / 1.091 GB, free: 2 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.4e-07/1.232, allocations: 0 / 1.091 GB, free: 2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003546/1.233, allocations: 7.312 kB / 1.091 GB, free: 1.996 MB / 0.8575 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.0006459/1.233, allocations: 0.6203 MB / 1.092 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003509/1.234, allocations: 39.22 kB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.234, allocations: 1.125 kB / 1.092 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/1.234, allocations: 17.75 kB / 1.092 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003996/1.234, allocations: 11.41 kB / 1.092 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005286/1.235, allocations: 119.3 kB / 1.092 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000392/1.235, allocations: 0.6775 MB / 1.093 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.296e-05/1.235, allocations: 5.625 kB / 1.093 GB, free: 16.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/1.235, allocations: 9.281 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/1.235, allocations: 0 / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2166/1.452, allocations: 1.212 MB / 1.094 GB, free: 16.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/13.45, allocations: 1.812 kB / 1.094 GB, free: 16.18 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches