Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001903/0.001903, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002324/0.002324, allocations: 192.2 kB / 22.17 MB, free: 5.652 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.492/1.492, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] 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.957/2.957, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 71.89 kB / 1.109 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.918/0.92, allocations: 168.7 MB / 1.274 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00221/0.9222, allocations: 0.8354 MB / 1.275 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.9223, allocations: 47.72 kB / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.9224, allocations: 0 / 1.275 GB, free: 3.535 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.928e-05/0.9224, allocations: 11.86 kB / 1.275 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.127e-05/0.9225, allocations: 11.88 kB / 1.275 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.137e-05/0.9226, allocations: 15.98 kB / 1.275 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.9227, allocations: 67.83 kB / 1.275 GB, free: 3.43 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.9228, allocations: 35.92 kB / 1.275 GB, free: 3.395 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.781e-05/0.9229, allocations: 19.94 kB / 1.275 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.9e-05/0.923, allocations: 39.72 kB / 1.275 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.923, allocations: 4 kB / 1.275 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.923, allocations: 8 kB / 1.275 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.504e-05/0.923, allocations: 7.938 kB / 1.275 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.053e-05/0.9231, allocations: 35.8 kB / 1.275 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.9232, allocations: 78.31 kB / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9232, allocations: 0 / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.512e-06/0.9232, allocations: 0 / 1.275 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.9232, allocations: 0 / 1.275 GB, free: 3.207 MB / 0.9669 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.0005266/0.9237, allocations: 383.1 kB / 1.276 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.9238, allocations: 8.031 kB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.9238, allocations: 12.84 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.924, allocations: 196.1 kB / 1.276 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.924, allocations: 8.375 kB / 1.276 GB, free: 2.523 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.9241, allocations: 4.375 kB / 1.276 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.9242, allocations: 95.88 kB / 1.276 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9242, allocations: 4.125 kB / 1.276 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.9243, allocations: 11.94 kB / 1.276 GB, free: 2.398 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9243, allocations: 4 kB / 1.276 GB, free: 2.395 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.9244, allocations: 31.98 kB / 1.276 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.925, allocations: 440.7 kB / 1.276 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.234e-05/0.925, allocations: 37.22 kB / 1.276 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.9251, allocations: 25.77 kB / 1.276 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.9251, allocations: 0 / 1.276 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.9251, allocations: 38.59 kB / 1.276 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.9251, allocations: 0 / 1.276 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001848/0.9253, allocations: 53.53 kB / 1.277 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.028e-05/0.9254, allocations: 81.36 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001917/0.9256, allocations: 160.5 kB / 1.277 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.9256, allocations: 25.7 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.9257, allocations: 104 kB / 1.277 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.9257, allocations: 11.95 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.775e-05/0.9257, allocations: 21.66 kB / 1.277 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.9259, allocations: 314.8 kB / 1.277 GB, free: 0.9297 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.9259, allocations: 8 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.771e-05/0.9259, allocations: 21.7 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.602e-05/0.926, allocations: 29.66 kB / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.926, allocations: 0 / 1.277 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.191e-05/0.9261, allocations: 57.64 kB / 1.277 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9261, allocations: 4 kB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9261, allocations: 3.938 kB / 1.277 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.9261, allocations: 8.062 kB / 1.277 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.495e-05/0.9262, allocations: 11.94 kB / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.9262, allocations: 0 / 1.277 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.785e-05/0.9262, allocations: 7.938 kB / 1.277 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.9262, allocations: 7.938 kB / 1.277 GB, free: 0.7539 MB / 0.9669 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 9.855e-05/0.9263, allocations: 110.4 kB / 1.277 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.9264, allocations: 7.953 kB / 1.277 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.9264, allocations: 19.8 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9264, allocations: 0 / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9264, allocations: 4 kB / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9264, allocations: 0 / 1.278 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004973/0.9269, allocations: 474.7 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.9269, allocations: 0 / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/0.9269, allocations: 4 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9269, allocations: 0 / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.9269, allocations: 7.938 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.9269, allocations: 64 / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.9269, allocations: 4 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.9271, allocations: 81.91 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.9271, allocations: 97.03 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.9272, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.9272, allocations: 0 / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-05/0.9272, allocations: 8.031 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.9272, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001083/0.9273, allocations: 121.9 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9273, allocations: 0 / 1.278 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001954/0.9275, allocations: 8 kB / 1.278 GB, free: 15.72 MB / 0.9825 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.0001256/0.9276, allocations: 99.25 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001003/0.9277, allocations: 19.92 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.9277, allocations: 4 kB / 1.278 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.081e-05/0.9278, allocations: 8.125 kB / 1.278 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.9279, allocations: 13.91 kB / 1.278 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003922/0.9283, allocations: 166.6 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.9287, allocations: 0.6963 MB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.9287, allocations: 4.562 kB / 1.279 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.9287, allocations: 15.44 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9287, allocations: 0 / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of Templates: time 0.003162/0.9319, allocations: 484.8 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 9.029392353724688]