Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001977/0.001977, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.002447/0.002447, allocations: 215.4 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.269/3.269, allocations: 0.5107 GB / 0.8166 GB, free: 17.76 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 64.2 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3379, allocations: 181.9 MB / 1.365 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002348/0.3402, allocations: 0.7946 MB / 1.365 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000119/0.3403, allocations: 39.8 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.3404, allocations: 0 / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.94e-05/0.3404, allocations: 7.875 kB / 1.365 GB, free: 12.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.3405, allocations: 11.92 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.759e-05/0.3405, allocations: 19.97 kB / 1.365 GB, free: 12.72 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001184/0.3407, allocations: 63.78 kB / 1.366 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3408, allocations: 31.98 kB / 1.366 GB, free: 12.63 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.648e-05/0.3409, allocations: 27.86 kB / 1.366 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.805e-05/0.3409, allocations: 19.86 kB / 1.366 GB, free: 12.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.3409, allocations: 8 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.3409, allocations: 4 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.304e-05/0.341, allocations: 19.92 kB / 1.366 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.341, allocations: 23.8 kB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.3411, allocations: 83.52 kB / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3411, allocations: 0 / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3411, allocations: 0 / 1.366 GB, free: 12.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.3411, allocations: 4 kB / 1.366 GB, free: 12.44 MB / 1.061 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.0004363/0.3416, allocations: 298 kB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.3416, allocations: 12.03 kB / 1.366 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.276e-05/0.3416, allocations: 12.84 kB / 1.366 GB, free: 12.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.3418, allocations: 138.3 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.3418, allocations: 4.375 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.3419, allocations: 12.38 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.342, allocations: 91.84 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.342, allocations: 192 / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.3421, allocations: 7.938 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3421, allocations: 8 kB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.3421, allocations: 39.92 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.3426, allocations: 356.4 kB / 1.367 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.468e-05/0.3427, allocations: 41.28 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.534e-05/0.3427, allocations: 13.84 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.3427, allocations: 4 kB / 1.367 GB, free: 11.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.3428, allocations: 34.56 kB / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3428, allocations: 0 / 1.367 GB, free: 11.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.3429, allocations: 61.52 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.343, allocations: 77.11 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3431, allocations: 128.6 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.3431, allocations: 33.64 kB / 1.367 GB, free: 10.92 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.874e-05/0.3432, allocations: 111.9 kB / 1.367 GB, free: 10.81 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.3432, allocations: 3.953 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.669e-05/0.3433, allocations: 17.72 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3434, allocations: 318.8 kB / 1.367 GB, free: 10.46 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.3434, allocations: 8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.3435, allocations: 17.72 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.562e-05/0.3435, allocations: 29.97 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3435, allocations: 4 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.291e-05/0.3436, allocations: 53.62 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3436, allocations: 4 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3436, allocations: 4 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3436, allocations: 3.938 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.392e-05/0.3437, allocations: 4 kB / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3437, allocations: 0 / 1.368 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.3437, allocations: 16.02 kB / 1.368 GB, free: 10.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.3437, allocations: 0 / 1.368 GB, free: 10.3 MB / 1.061 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 0.0001145/0.3438, allocations: 122.4 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3439, allocations: 4 kB / 1.368 GB, free: 10.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.3439, allocations: 7.406 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3439, allocations: 4 kB / 1.368 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3439, allocations: 3.938 kB / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.3439, allocations: 0 / 1.368 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004033/0.3443, allocations: 414.4 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3443, allocations: 3.938 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.937e-05/0.3443, allocations: 12 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3443, allocations: 0 / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3444, allocations: 0 / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.3444, allocations: 3.984 kB / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3444, allocations: 0 / 1.368 GB, free: 9.676 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.732e-05/0.3445, allocations: 77.98 kB / 1.368 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/0.3445, allocations: 7.891 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.3445, allocations: 4 kB / 1.368 GB, free: 9.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/0.3445, allocations: 3.984 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.3445, allocations: 0 / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.3445, allocations: 4.031 kB / 1.368 GB, free: 9.559 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.61e-05/0.3446, allocations: 115.1 kB / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.3446, allocations: 0 / 1.368 GB, free: 9.445 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001868/0.3448, allocations: 7.953 kB / 1.368 GB, free: 9.438 MB / 1.061 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.0001182/0.3449, allocations: 95.25 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.114e-05/0.345, allocations: 16 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.345, allocations: 0 / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.345, allocations: 11.92 kB / 1.369 GB, free: 9.309 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.3452, allocations: 13.12 kB / 1.369 GB, free: 9.297 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003985/0.3456, allocations: 180.5 kB / 1.369 GB, free: 9.078 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.103e-05/0.3457, allocations: 83.11 kB / 1.369 GB, free: 8.977 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.3457, allocations: 11.44 kB / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of SimCode: time 2.91e-07/0.3457, allocations: 0 / 1.369 GB, free: 8.965 MB / 1.061 GB Notification: Performance of Templates: time 0.002428/0.3481, allocations: 0.8044 MB / 1.37 GB, free: 8.164 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.954636728856713]