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.008687/0.008687, allocations: 101.3 kB / 15.73 MB, free: 6.449 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.00215/0.00215, allocations: 196.7 kB / 16.68 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.292/2.292, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.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.352/4.352, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 64.59 kB / 0.9504 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4161, allocations: 140.4 MB / 1.088 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.003023/0.4192, allocations: 0.5994 MB / 1.088 GB, free: 1.332 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.4207, allocations: 0.7848 MB / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.4207, allocations: 0 / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.4208, allocations: 0 / 1.089 GB, free: 0.5352 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.072e-05/0.4209, allocations: 3.938 kB / 1.089 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.939e-05/0.421, allocations: 3.984 kB / 1.089 GB, free: 0.5273 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.4211, allocations: 16 kB / 1.089 GB, free: 0.5117 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 7.664e-05/0.4212, allocations: 7.984 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.923e-05/0.4213, allocations: 7.938 kB / 1.089 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.4213, allocations: 15.92 kB / 1.089 GB, free: 492 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.4214, allocations: 4 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-06/0.4214, allocations: 0 / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/0.4214, allocations: 4 kB / 1.089 GB, free: 484 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.901e-05/0.4215, allocations: 7.938 kB / 1.089 GB, free: 476 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.4216, allocations: 19.95 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4216, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.674e-06/0.4216, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.4216, allocations: 0 / 1.089 GB, free: 456 kB / 0.8419 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.00059/0.4222, allocations: 331.7 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.4223, allocations: 12.03 kB / 1.089 GB, free: 60 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.4224, allocations: 34.75 kB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.233e-05/0.4224, allocations: 4.938 kB / 1.089 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.4226, allocations: 160.4 kB / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4226, allocations: 384 / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.4226, allocations: 384 / 1.089 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.4229, allocations: 50.17 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4229, allocations: 7.922 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.4229, allocations: 7.938 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4229, allocations: 0 / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00022/0.4232, allocations: 27.97 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.4234, allocations: 153.7 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.4236, allocations: 38.48 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.4237, allocations: 20.91 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4237, allocations: 0 / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.4238, allocations: 30.56 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4238, allocations: 0 / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0004523/0.4242, allocations: 81.52 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.4243, allocations: 51.41 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4244, allocations: 106 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.4244, allocations: 25.7 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.381e-05/0.4245, allocations: 80.14 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.4245, allocations: 11.89 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.4246, allocations: 13.7 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.4247, allocations: 314.8 kB / 1.09 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.4249, allocations: 11.98 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.425, allocations: 19.98 kB / 1.09 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.4253, allocations: 36.77 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.4253, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003066/0.4256, allocations: 57.66 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.4256, allocations: 8.031 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.4256, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4257, allocations: 4 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4258, allocations: 7.984 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4258, allocations: 0 / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.4259, allocations: 11.98 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.4259, allocations: 0 / 1.091 GB, free: 14.52 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 0.00011/0.4261, allocations: 105.8 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.4261, allocations: 7.938 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.4261, allocations: 7.125 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.4261, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.4262, allocations: 0 / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4262, allocations: 3.938 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.4263, allocations: 153.7 kB / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.4264, allocations: 0 / 1.091 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.206e-05/0.4265, allocations: 15.92 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.4265, allocations: 3.938 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-06/0.4265, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4265, allocations: 0 / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4265, allocations: 8 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.4269, allocations: 85.05 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.4269, allocations: 77.11 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.427, allocations: 3.938 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.319e-05/0.4271, allocations: 11.98 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.4271, allocations: 7.969 kB / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4271, allocations: 0 / 1.091 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.387e-05/0.4272, allocations: 83.27 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4272, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003711/0.4276, allocations: 4 kB / 1.091 GB, free: 13.86 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.0007361/0.4284, allocations: 0.6283 MB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.4287, allocations: 27.97 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4287, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.4289, allocations: 15.98 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.4293, allocations: 4.156 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.4299, allocations: 129.9 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.4302, allocations: 0.6729 MB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.4302, allocations: 4 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.4303, allocations: 11.44 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of SimCode: time 5.11e-07/0.4303, allocations: 0 / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05675/0.487, allocations: 1.235 MB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.65, allocations: 3.938 kB / 1.094 GB, free: 11.14 MB / 0.8575 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 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.csv","/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