Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001247/0.001247, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.001215/0.001215, allocations: 174.3 kB / 23.21 MB, free: 1.355 MB / 18.57 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.9188/0.9188, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.773/1.773, allocations: 377.8 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.495e-05/2.633e-05, allocations: 9.031 kB / 0.9822 GB, free: 2.082 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001331/0.001357, allocations: 0.7906 MB / 0.983 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.001461, allocations: 47.78 kB / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.317e-05/0.001504, allocations: 0 / 0.983 GB, free: 1.246 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.19e-05/0.001536, allocations: 3.938 kB / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.693e-05/0.001613, allocations: 15.8 kB / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.832e-05/0.001651, allocations: 19.98 kB / 0.9831 GB, free: 1.207 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.109e-05/0.001742, allocations: 59.84 kB / 0.9831 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.001858, allocations: 27.97 kB / 0.9831 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.534e-05/0.001923, allocations: 35.91 kB / 0.9832 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.001977, allocations: 23.89 kB / 0.9832 GB, free: 1.062 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.002, allocations: 8 kB / 0.9832 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.005e-06/0.002008, allocations: 8 kB / 0.9832 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.695e-05/0.002025, allocations: 11.94 kB / 0.9832 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.002051, allocations: 19.92 kB / 0.9833 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.002153, allocations: 79.64 kB / 0.9833 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002155, allocations: 3.938 kB / 0.9833 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.91e-07/0.002156, allocations: 0 / 0.9833 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.002161, allocations: 3.984 kB / 0.9833 GB, free: 0.9297 MB / 0.9323 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.000336/0.002497, allocations: 302 kB / 0.9836 GB, free: 0.6016 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.002539, allocations: 8.031 kB / 0.9836 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.002568, allocations: 16.84 kB / 0.9836 GB, free: 0.5781 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.002719, allocations: 133.7 kB / 0.9838 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.00273, allocations: 12.38 kB / 0.9838 GB, free: 420 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.002741, allocations: 4.375 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.002862, allocations: 98.38 kB / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.002869, allocations: 192 / 0.9839 GB, free: 308 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.002878, allocations: 4.375 kB / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.002883, allocations: 384 / 0.9839 GB, free: 304 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.884e-05/0.002942, allocations: 39.92 kB / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.0033, allocations: 352.4 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.731e-05/0.003348, allocations: 41.16 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.003378, allocations: 25.88 kB / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.823e-06/0.003385, allocations: 0 / 0.9843 GB, free: 15.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.003404, allocations: 30.56 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.003404, allocations: 4 kB / 0.9844 GB, free: 15.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001454/0.00355, allocations: 57.52 kB / 0.9844 GB, free: 15.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.003587, allocations: 77.11 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.706e-05/0.003674, allocations: 140.3 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.003683, allocations: 29.95 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.003734, allocations: 104 kB / 0.9847 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-06/0.003741, allocations: 3.953 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.003768, allocations: 25.61 kB / 0.9848 GB, free: 15.27 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.343e-05/0.003841, allocations: 318.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.003855, allocations: 7.984 kB / 0.9851 GB, free: 14.94 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.805e-05/0.003873, allocations: 17.72 kB / 0.9851 GB, free: 14.92 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.003905, allocations: 25.66 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003907, allocations: 0 / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.477e-05/0.003962, allocations: 57.69 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.003974, allocations: 8 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.003978, allocations: 3.938 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.003989, allocations: 0 / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/0.004041, allocations: 8 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.004046, allocations: 3.938 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.00406, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.004064, allocations: 0 / 0.9852 GB, free: 14.8 MB / 0.948 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 5.534e-05/0.004119, allocations: 113.8 kB / 0.9853 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.004142, allocations: 20.08 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.637e-05/0.004159, allocations: 7.469 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.004161, allocations: 0 / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.004164, allocations: 0 / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.004167, allocations: 3.938 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.004404, allocations: 422.4 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.004405, allocations: 0 / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.15e-05/0.004417, allocations: 4 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.82e-07/0.004418, allocations: 0 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.004426, allocations: 7.938 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.004428, allocations: 4.062 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.004428, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.02e-05/0.004479, allocations: 73.92 kB / 0.9858 GB, free: 14.08 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.004495, allocations: 7.953 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.004507, allocations: 7.938 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-06/0.004516, allocations: 0 / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.004529, allocations: 3.984 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.004531, allocations: 4 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002778/0.004809, allocations: 103.3 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.004809, allocations: 0 / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001261/0.004935, allocations: 11.95 kB / 0.986 GB, free: 13.95 MB / 0.948 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 7.417e-05/0.00501, allocations: 107.7 kB / 0.9861 GB, free: 13.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.341e-05/0.005073, allocations: 15.94 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-06/0.005074, allocations: 0 / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.005081, allocations: 4 kB / 0.9861 GB, free: 13.81 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.005198, allocations: 11.98 kB / 0.9861 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.005455, allocations: 192.2 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.616e-05/0.005501, allocations: 81.81 kB / 0.9864 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.005524, allocations: 12.5 kB / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of SimCode: time 3.71e-07/0.005524, allocations: 0 / 0.9864 GB, free: 13.45 MB / 0.948 GB Notification: Performance of Templates: time 0.001379/0.006903, allocations: 0.8013 MB / 0.9872 GB, free: 12.65 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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: 6.7539893528446555]