Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.478/2.478, allocations: 476.7 MB / 0.7628 GB, free: 15.2 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 71.88 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7712/0.773, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001707/0.7747, allocations: 0.8472 MB / 1.272 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 8.882e-05/0.7748, allocations: 36.34 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.432e-05/0.7749, allocations: 1.844 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.7749, allocations: 9.891 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.775, allocations: 9.875 kB / 1.272 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.161e-05/0.775, allocations: 19.94 kB / 1.272 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.418e-05/0.7751, allocations: 68.47 kB / 1.272 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.7752, allocations: 35.09 kB / 1.272 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.7753, allocations: 25.52 kB / 1.272 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.359e-05/0.7753, allocations: 30.92 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.7753, allocations: 6.031 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-06/0.7753, allocations: 5.656 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.7754, allocations: 12.17 kB / 1.272 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.7754, allocations: 36.78 kB / 1.273 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.7755, allocations: 76.8 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7755, allocations: 0.8438 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.963e-06/0.7755, allocations: 0.6562 kB / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.7755, allocations: 0 / 1.273 GB, free: 6.98 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000294/0.7758, allocations: 379.9 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.7758, allocations: 10.42 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.7759, allocations: 43.56 kB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.402e-05/0.7759, allocations: 13.44 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.776, allocations: 196.4 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.776, allocations: 7.188 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7761, allocations: 5.5 kB / 1.273 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.7762, allocations: 94.55 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7762, allocations: 4.625 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.7762, allocations: 4.625 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7762, allocations: 2.672 kB / 1.273 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.074e-05/0.7763, allocations: 36.23 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.7767, allocations: 434.4 kB / 1.274 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.768e-05/0.7767, allocations: 48.59 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.796e-05/0.7767, allocations: 20.52 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.07e-06/0.7767, allocations: 0.8438 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.36e-05/0.7767, allocations: 32.94 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7767, allocations: 0 / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001335/0.7769, allocations: 60.45 kB / 1.274 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.192e-05/0.7769, allocations: 79.09 kB / 1.274 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.777, allocations: 162.3 kB / 1.274 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.25e-06/0.777, allocations: 25.7 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.7771, allocations: 104.6 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.662e-06/0.7771, allocations: 9.797 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.7771, allocations: 13.72 kB / 1.274 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.585e-05/0.7771, allocations: 324.3 kB / 1.275 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.7771, allocations: 11.22 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.643e-05/0.7771, allocations: 20.19 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.7772, allocations: 27.53 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.7772, allocations: 0 / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.801e-05/0.7772, allocations: 57.55 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.7773, allocations: 13.94 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.7773, allocations: 4.641 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.7773, allocations: 0.875 kB / 1.275 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.7773, allocations: 10.2 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.7773, allocations: 1.531 kB / 1.275 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.7774, allocations: 10.94 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.7774, allocations: 0.8438 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.108e-05/0.7774, allocations: 117.6 kB / 1.275 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.7774, allocations: 16.56 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.7775, allocations: 13.22 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.7775, allocations: 0 / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.7775, allocations: 1.719 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.7775, allocations: 0.9375 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.7777, allocations: 472.9 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.7777, allocations: 0 / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.677e-05/0.7777, allocations: 3.062 kB / 1.275 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.7777, allocations: 5.094 kB / 1.275 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.7777, allocations: 5.062 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.7777, allocations: 1.125 kB / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7777, allocations: 0 / 1.275 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.327e-05/0.7778, allocations: 77.11 kB / 1.275 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.649e-05/0.7778, allocations: 91.28 kB / 1.276 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.7778, allocations: 5.656 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.902e-05/0.7779, allocations: 0.8438 kB / 1.276 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-06/0.7779, allocations: 4.688 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-06/0.7779, allocations: 1.781 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.082e-05/0.7779, allocations: 119.8 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7779, allocations: 0 / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001754/0.7781, allocations: 7.281 kB / 1.276 GB, free: 3.93 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001947/0.7783, allocations: 0.6173 MB / 1.276 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.2e-05/0.7784, allocations: 19.33 kB / 1.276 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.7784, allocations: 0 / 1.276 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.014e-05/0.7784, allocations: 8.062 kB / 1.276 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.7785, allocations: 10.17 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.7794, allocations: 1.339 MB / 1.278 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002761/0.7796, allocations: 0.6919 MB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.7797, allocations: 11.08 kB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.7797, allocations: 27.22 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7797, allocations: 3.938 kB / 1.278 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.8026, allocations: 1.564 MB / 1.28 GB, free: 16.96 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.937, allocations: 13.09 kB / 1.28 GB, free: 16.96 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.309100500002387]