Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.002048/0.002048, allocations: 115 kB / 17.08 MB, free: 5.988 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.002467/0.002467, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.489/1.489, allocations: 222.9 MB / 245.7 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.759/2.759, allocations: 437.1 MB / 0.7177 GB, free: 4.52 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001918, allocations: 75.89 kB / 1.028 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3205, allocations: 151.6 MB / 1.176 GB, free: 5.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001977/0.3225, allocations: 0.8242 MB / 1.177 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001109/0.3226, allocations: 51.8 kB / 1.177 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.553e-05/0.3227, allocations: 0 / 1.177 GB, free: 4.996 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.309e-05/0.3227, allocations: 11.86 kB / 1.177 GB, free: 4.984 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.939e-05/0.3228, allocations: 11.86 kB / 1.177 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.82e-05/0.3229, allocations: 15.98 kB / 1.177 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.323, allocations: 63.84 kB / 1.177 GB, free: 4.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.3232, allocations: 39.98 kB / 1.177 GB, free: 4.855 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.352e-05/0.3232, allocations: 27.86 kB / 1.177 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.648e-05/0.3233, allocations: 31.78 kB / 1.177 GB, free: 4.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.3233, allocations: 8 kB / 1.177 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-06/0.3233, allocations: 7.938 kB / 1.177 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.3234, allocations: 15.94 kB / 1.177 GB, free: 4.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.3234, allocations: 31.8 kB / 1.177 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000122/0.3235, allocations: 79.58 kB / 1.177 GB, free: 4.656 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3235, allocations: 0 / 1.177 GB, free: 4.656 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3235, allocations: 0 / 1.177 GB, free: 4.656 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.3235, allocations: 0 / 1.177 GB, free: 4.656 MB / 0.92 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.0004643/0.324, allocations: 383.1 kB / 1.177 GB, free: 4.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3241, allocations: 8.031 kB / 1.177 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.184e-05/0.3241, allocations: 12.84 kB / 1.177 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.3243, allocations: 196.1 kB / 1.178 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3244, allocations: 12.38 kB / 1.178 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.3244, allocations: 4.375 kB / 1.178 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3245, allocations: 91.94 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.3246, allocations: 8.125 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3246, allocations: 7.938 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.3246, allocations: 3.984 kB / 1.178 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.807e-05/0.3247, allocations: 31.98 kB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.3253, allocations: 444.8 kB / 1.178 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.504e-05/0.3253, allocations: 33.16 kB / 1.178 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.27e-05/0.3254, allocations: 25.83 kB / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.3254, allocations: 0 / 1.178 GB, free: 3.242 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3254, allocations: 38.5 kB / 1.178 GB, free: 3.195 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3254, allocations: 0 / 1.178 GB, free: 3.195 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001793/0.3256, allocations: 53.59 kB / 1.178 GB, free: 3.137 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.3257, allocations: 81.05 kB / 1.178 GB, free: 3.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.3258, allocations: 160.3 kB / 1.179 GB, free: 2.875 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.3259, allocations: 25.7 kB / 1.179 GB, free: 2.844 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.3259, allocations: 108.3 kB / 1.179 GB, free: 2.734 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.326, allocations: 7.953 kB / 1.179 GB, free: 2.727 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.326, allocations: 13.72 kB / 1.179 GB, free: 2.707 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3261, allocations: 322.8 kB / 1.179 GB, free: 2.383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.018e-05/0.3262, allocations: 12 kB / 1.179 GB, free: 2.371 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.3262, allocations: 17.7 kB / 1.179 GB, free: 2.348 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.485e-05/0.3262, allocations: 29.72 kB / 1.179 GB, free: 2.312 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3262, allocations: 3.938 kB / 1.179 GB, free: 2.309 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.83e-05/0.3263, allocations: 53.61 kB / 1.179 GB, free: 2.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3263, allocations: 15.92 kB / 1.179 GB, free: 2.234 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3264, allocations: 3.938 kB / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3264, allocations: 0 / 1.179 GB, free: 2.23 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.763e-05/0.3264, allocations: 8 kB / 1.179 GB, free: 2.223 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3265, allocations: 3.938 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.836e-05/0.3265, allocations: 7.938 kB / 1.179 GB, free: 2.211 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.501e-06/0.3265, allocations: 8.062 kB / 1.179 GB, free: 2.203 MB / 0.92 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 8.157e-05/0.3266, allocations: 113.8 kB / 1.179 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.3266, allocations: 7.953 kB / 1.179 GB, free: 2.074 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.439e-05/0.3267, allocations: 11.8 kB / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3267, allocations: 0 / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3267, allocations: 4 kB / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3267, allocations: 0 / 1.179 GB, free: 2.055 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.3271, allocations: 478.7 kB / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3271, allocations: 0 / 1.18 GB, free: 1.523 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.3272, allocations: 4 kB / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3272, allocations: 0 / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3272, allocations: 0 / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3272, allocations: 0 / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3272, allocations: 0 / 1.18 GB, free: 1.52 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.653e-05/0.3273, allocations: 89.88 kB / 1.18 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.3273, allocations: 92.98 kB / 1.18 GB, free: 1.301 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3274, allocations: 4 kB / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.3274, allocations: 0 / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.047e-05/0.3274, allocations: 0 / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3274, allocations: 0 / 1.18 GB, free: 1.297 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.725e-05/0.3275, allocations: 122.3 kB / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3275, allocations: 0 / 1.18 GB, free: 1.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001825/0.3277, allocations: 12.03 kB / 1.18 GB, free: 1.168 MB / 0.92 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.0001166/0.3278, allocations: 103.2 kB / 1.18 GB, free: 1.059 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.3279, allocations: 19.94 kB / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3279, allocations: 0 / 1.18 GB, free: 1.039 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.3279, allocations: 7.984 kB / 1.18 GB, free: 1.031 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.3281, allocations: 11.94 kB / 1.18 GB, free: 1.02 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000311/0.3284, allocations: 188.5 kB / 1.18 GB, free: 0.793 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3287, allocations: 0.6967 MB / 1.181 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.3288, allocations: 11.44 kB / 1.181 GB, free: 60 kB / 0.92 GB Notification: Performance of SimCode: time 2.11e-07/0.3288, allocations: 0 / 1.181 GB, free: 60 kB / 0.92 GB Notification: Performance of Templates: time 0.002406/0.3312, allocations: 0.8755 MB / 1.182 GB, free: 15.18 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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: 10.30313337908592]