Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007553/0.0007553, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00109/0.001845, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007025/0.0007025, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009514/0.001654, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9728/0.9728, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08352/1.056, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.363/2.363, allocations: 447.1 MB / 0.675 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.238/2.601, allocations: 146 MB / 0.8176 GB, free: 3.824 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8189 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.373e-05, allocations: 5.266 kB / 0.8189 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002316/0.00234, allocations: 0.8648 MB / 0.8198 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.000122/0.002462, allocations: 55.72 kB / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.002507, allocations: 0 / 0.8198 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.002542, allocations: 7.875 kB / 0.8198 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.171e-05/0.002594, allocations: 11.88 kB / 0.8199 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 4.678e-05/0.00264, allocations: 19.97 kB / 0.8199 GB, free: 1.527 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.002753, allocations: 55.86 kB / 0.8199 GB, free: 1.473 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.002866, allocations: 35.91 kB / 0.82 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.002969, allocations: 55.77 kB / 0.82 GB, free: 1.383 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.574e-05/0.003015, allocations: 15.92 kB / 0.82 GB, free: 1.367 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.003035, allocations: 4 kB / 0.82 GB, free: 1.363 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.003045, allocations: 4 kB / 0.82 GB, free: 1.359 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.003067, allocations: 11.94 kB / 0.8201 GB, free: 1.348 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.003094, allocations: 15.94 kB / 0.8201 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003202, allocations: 39.78 kB / 0.8201 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.311e-05/0.003215, allocations: 4 kB / 0.8201 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003216, allocations: 3.938 kB / 0.8201 GB, free: 1.285 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.003232, allocations: 0 / 0.8201 GB, free: 1.285 MB / 0.7917 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.0004089/0.003641, allocations: 292.3 kB / 0.8204 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.00368, allocations: 8.031 kB / 0.8204 GB, free: 0.9648 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.003718, allocations: 16.88 kB / 0.8204 GB, free: 0.9492 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/0.003875, allocations: 133.7 kB / 0.8205 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.003887, allocations: 8.281 kB / 0.8205 GB, free: 0.7852 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.003903, allocations: 8.375 kB / 0.8206 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.004019, allocations: 85.27 kB / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.004027, allocations: 192 / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-06/0.004035, allocations: 384 / 0.8206 GB, free: 0.6836 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.004043, allocations: 4.375 kB / 0.8206 GB, free: 0.6797 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.836e-05/0.004081, allocations: 27.84 kB / 0.8207 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004162/0.004497, allocations: 0.501 MB / 0.8212 GB, free: 120 kB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 8.885e-05/0.004586, allocations: 177.3 kB / 0.8213 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.004613, allocations: 80.14 kB / 0.8214 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.004641, allocations: 75.28 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.865e-05/0.00472, allocations: 105.8 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.004722, allocations: 0 / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.773e-05/0.00479, allocations: 33.69 kB / 0.8216 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.004828, allocations: 130.6 kB / 0.8217 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.004928, allocations: 145.7 kB / 0.8219 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.855e-06/0.004936, allocations: 29.7 kB / 0.8219 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.55e-05/0.004992, allocations: 123.8 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.004995, allocations: 4 kB / 0.822 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.005024, allocations: 29.66 kB / 0.8221 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.005093, allocations: 318.8 kB / 0.8224 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.564e-06/0.005101, allocations: 7.984 kB / 0.8224 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.005131, allocations: 54.86 kB / 0.8224 GB, free: 14.73 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.026e-05/0.005191, allocations: 74.73 kB / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.005194, allocations: 0 / 0.8225 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.062e-05/0.005284, allocations: 73.48 kB / 0.8226 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.005298, allocations: 11.94 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.005303, allocations: 0 / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.005315, allocations: 4 kB / 0.8226 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.442e-05/0.00537, allocations: 20.23 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.005374, allocations: 4.156 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.639e-05/0.0054, allocations: 11.88 kB / 0.8226 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-06/0.005405, allocations: 7.984 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 6.46e-05/0.005469, allocations: 193 kB / 0.8228 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.005503, allocations: 109 kB / 0.8229 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.776e-05/0.005551, allocations: 120.8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/0.005587, allocations: 180.3 kB / 0.8232 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.63e-05/0.005623, allocations: 184.2 kB / 0.8234 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.832e-05/0.005661, allocations: 180.3 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.005796, allocations: 341.3 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-05/0.00582, allocations: 104.9 kB / 0.824 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.149e-05/0.005841, allocations: 101 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.161e-05/0.005883, allocations: 112.9 kB / 0.8242 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-05/0.005916, allocations: 176.3 kB / 0.8243 GB, free: 12.63 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.005956, allocations: 188.2 kB / 0.8245 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.622e-05/0.005992, allocations: 180.2 kB / 0.8247 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-05/0.006028, allocations: 176.3 kB / 0.8249 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.404e-05/0.006112, allocations: 311.7 kB / 0.8252 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.208e-05/0.006154, allocations: 184.2 kB / 0.8253 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.006198, allocations: 104.9 kB / 0.8254 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.006237, allocations: 184.3 kB / 0.8256 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.456e-05/0.006262, allocations: 108.9 kB / 0.8257 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.286e-05/0.006285, allocations: 24.83 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.006285, allocations: 0 / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001225/0.006407, allocations: 11.95 kB / 0.8257 GB, free: 11.11 MB / 0.8073 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 (0): * Single equations (assignments): 0 * 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.0001074/0.006515, allocations: 155.7 kB / 0.8259 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.44e-05/0.006579, allocations: 37.27 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.006582, allocations: 192 / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.006585, allocations: 4 kB / 0.8259 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.006795, allocations: 475.6 kB / 0.8264 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.007025, allocations: 232.1 kB / 0.8266 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.719e-05/0.007052, allocations: 59.34 kB / 0.8267 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.142e-05/0.007083, allocations: 8.734 kB / 0.8267 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.514e-05/0.007118, allocations: 51.38 kB / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of SimCode: time 3.5e-07/0.007119, allocations: 0 / 0.8267 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of Templates: time 0.001636/0.008754, allocations: 267.5 kB / 0.827 GB, free: 9.781 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.1349918050691485]