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.004964/0.004964, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001154/0.001154, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.316/1.316, 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 2.217/2.217, allocations: 390.3 MB / 0.6648 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6428, allocations: 140.4 MB / 1.088 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.001518/0.6443, allocations: 0.6098 MB / 1.088 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0006107/0.645, allocations: 0.7861 MB / 1.089 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.645, allocations: 1.094 kB / 1.089 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.645, allocations: 0 / 1.089 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-05/0.6451, allocations: 5.828 kB / 1.089 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.464e-05/0.6451, allocations: 5.828 kB / 1.089 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.681e-05/0.6452, allocations: 13.64 kB / 1.089 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.6452, allocations: 6.344 kB / 1.089 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.057e-05/0.6453, allocations: 13.19 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.065e-05/0.6453, allocations: 4.656 kB / 1.089 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.6453, allocations: 4.969 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-06/0.6454, allocations: 2.125 kB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.348e-05/0.6454, allocations: 5.312 kB / 1.089 GB, free: 4.289 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.6454, allocations: 9.594 kB / 1.089 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 6.177e-05/0.6455, allocations: 18.81 kB / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6455, allocations: 0 / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6455, allocations: 0 / 1.089 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.6455, allocations: 0 / 1.089 GB, free: 4.273 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.0003045/0.6458, allocations: 332.7 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.6458, allocations: 13.97 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.252e-05/0.6459, allocations: 31.55 kB / 1.089 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.812e-05/0.6459, allocations: 5.938 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.636e-05/0.6459, allocations: 164.2 kB / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.646, allocations: 384 / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.646, allocations: 1.469 kB / 1.089 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.6461, allocations: 44.62 kB / 1.09 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.505e-06/0.6461, allocations: 4.969 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-06/0.6462, allocations: 0 / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.6462, allocations: 8.547 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.6463, allocations: 29.56 kB / 1.09 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.973e-05/0.6464, allocations: 153.6 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.6465, allocations: 32.73 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.969e-05/0.6466, allocations: 17.03 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.6466, allocations: 5.609 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.224e-05/0.6467, allocations: 35.56 kB / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.6467, allocations: 0 / 1.09 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0003017/0.647, allocations: 84.02 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.647, allocations: 51.41 kB / 1.09 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.569e-05/0.647, allocations: 101.6 kB / 1.09 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-06/0.6471, allocations: 26.45 kB / 1.09 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.549e-05/0.6471, allocations: 85.45 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.6471, allocations: 4.703 kB / 1.09 GB, free: 3.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.6471, allocations: 16.44 kB / 1.09 GB, free: 3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.172e-05/0.6472, allocations: 312.1 kB / 1.09 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.168e-05/0.6473, allocations: 16.7 kB / 1.09 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.6473, allocations: 18.2 kB / 1.09 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.6475, allocations: 37.92 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6475, allocations: 0 / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000174/0.6477, allocations: 60.34 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.6477, allocations: 13.52 kB / 1.091 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6477, allocations: 8.094 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6477, allocations: 0.9375 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.6478, allocations: 6.969 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6478, allocations: 1.688 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.6479, allocations: 5.5 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.6479, allocations: 1.125 kB / 1.091 GB, free: 2.613 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 3.683e-05/0.6479, allocations: 107.4 kB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.6479, allocations: 5.516 kB / 1.091 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.55e-05/0.6479, allocations: 8.688 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.6479, allocations: 0 / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.6479, allocations: 1.719 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.648, allocations: 0 / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.982e-05/0.648, allocations: 154.1 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.648, allocations: 0 / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.269e-05/0.6481, allocations: 7.719 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.6481, allocations: 7.875 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.6481, allocations: 1.125 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6481, allocations: 0.7031 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6481, allocations: 4 kB / 1.091 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.6483, allocations: 84.97 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.6483, allocations: 78.83 kB / 1.091 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.6483, allocations: 4.641 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.305e-05/0.6484, allocations: 6.141 kB / 1.091 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.6484, allocations: 6.109 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.6484, allocations: 0.9062 kB / 1.091 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.933e-05/0.6484, allocations: 79.5 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6484, allocations: 5 kB / 1.091 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001786/0.6486, allocations: 2.188 kB / 1.091 GB, free: 2.035 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.0003445/0.649, allocations: 0.6328 MB / 1.092 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001924/0.6492, allocations: 30.72 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.6492, allocations: 0 / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 8.068e-05/0.6493, allocations: 14.5 kB / 1.092 GB, free: 1.418 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001866/0.6495, allocations: 15.66 kB / 1.092 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.6497, allocations: 118.9 kB / 1.092 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002221/0.65, allocations: 0.6786 MB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.951e-05/0.65, allocations: 1.094 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.827e-05/0.65, allocations: 13 kB / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of SimCode: time 2e-07/0.65, allocations: 0 / 1.093 GB, free: 16.56 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.6649, allocations: 1.226 MB / 1.094 GB, free: 16.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.199/7.864, allocations: 4.344 kB / 1.094 GB, free: 16.2 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 & 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