Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001962/0.001962, allocations: 110 kB / 18.93 MB, free: 2.945 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.002489/0.002489, allocations: 191.9 kB / 22.23 MB, free: 5.16 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.552/1.552, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.89 kB / 1.061 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 160.8 MB / 1.218 GB, free: 3.727 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002219/1.054, allocations: 0.8441 MB / 1.219 GB, free: 3.082 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001173/1.055, allocations: 45.34 kB / 1.219 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/1.055, allocations: 1.188 kB / 1.219 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.232e-05/1.055, allocations: 11.86 kB / 1.219 GB, free: 3.031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.201e-05/1.055, allocations: 5.094 kB / 1.219 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.1e-05/1.055, allocations: 19.73 kB / 1.219 GB, free: 3.012 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/1.055, allocations: 66.34 kB / 1.219 GB, free: 2.969 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/1.055, allocations: 38.72 kB / 1.219 GB, free: 2.941 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.961e-05/1.055, allocations: 23.84 kB / 1.219 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.011e-05/1.055, allocations: 28.53 kB / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/1.055, allocations: 6.594 kB / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.044e-05/1.055, allocations: 5.625 kB / 1.22 GB, free: 2.902 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.105e-05/1.055, allocations: 14.34 kB / 1.22 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/1.055, allocations: 38.52 kB / 1.22 GB, free: 2.859 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001293/1.055, allocations: 72.06 kB / 1.22 GB, free: 2.809 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/1.055, allocations: 3.938 kB / 1.22 GB, free: 2.805 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.423e-06/1.055, allocations: 4.75 kB / 1.22 GB, free: 2.801 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.839e-06/1.055, allocations: 0 / 1.22 GB, free: 2.801 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.0004667/1.056, allocations: 382.9 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/1.056, allocations: 9.156 kB / 1.22 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/1.056, allocations: 13.81 kB / 1.22 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/1.056, allocations: 193.9 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/1.056, allocations: 3.406 kB / 1.22 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/1.056, allocations: 10.47 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/1.056, allocations: 92.44 kB / 1.22 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.056, allocations: 1.25 kB / 1.22 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.056, allocations: 8.906 kB / 1.22 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/1.056, allocations: 1.188 kB / 1.22 GB, free: 2.082 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.051e-05/1.057, allocations: 44.47 kB / 1.22 GB, free: 2.059 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/1.057, allocations: 436.6 kB / 1.221 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.989e-05/1.057, allocations: 41.19 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/1.057, allocations: 26.83 kB / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/1.057, allocations: 0 / 1.221 GB, free: 1.539 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/1.057, allocations: 32.72 kB / 1.221 GB, free: 1.5 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/1.057, allocations: 4 kB / 1.221 GB, free: 1.496 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001747/1.057, allocations: 58.5 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/1.058, allocations: 78.36 kB / 1.221 GB, free: 1.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/1.058, allocations: 156.9 kB / 1.221 GB, free: 1.227 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/1.058, allocations: 29.64 kB / 1.221 GB, free: 1.191 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.613e-05/1.058, allocations: 108 kB / 1.221 GB, free: 1.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/1.058, allocations: 5.203 kB / 1.221 GB, free: 1.082 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/1.058, allocations: 25.52 kB / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.058, allocations: 317.1 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/1.058, allocations: 4.188 kB / 1.222 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.712e-05/1.058, allocations: 22.58 kB / 1.222 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.166e-05/1.058, allocations: 22.16 kB / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.058, allocations: 0 / 1.222 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.382e-05/1.058, allocations: 75.47 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.058, allocations: 4.844 kB / 1.222 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/1.058, allocations: 3.938 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/1.058, allocations: 1.219 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/1.058, allocations: 6.031 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/1.058, allocations: 0 / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.994e-05/1.058, allocations: 6.219 kB / 1.222 GB, free: 0.625 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-06/1.058, allocations: 1.5 kB / 1.222 GB, free: 0.625 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 9.224e-05/1.058, allocations: 129.7 kB / 1.222 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/1.058, allocations: 7.672 kB / 1.222 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/1.058, allocations: 19.39 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/1.058, allocations: 0 / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.058, allocations: 1.062 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/1.058, allocations: 1.156 kB / 1.222 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/1.059, allocations: 469.8 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.059, allocations: 5.438 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-05/1.059, allocations: 2.75 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/1.059, allocations: 1.062 kB / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/1.059, allocations: 0 / 1.222 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.059, allocations: 5.188 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.059, allocations: 1.188 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.731e-05/1.059, allocations: 81.34 kB / 1.222 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.43e-05/1.059, allocations: 92.73 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/1.059, allocations: 1.156 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.065e-05/1.059, allocations: 1.344 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/1.059, allocations: 3.938 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-06/1.059, allocations: 5.344 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001074/1.059, allocations: 124.5 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.059, allocations: 0 / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001825/1.059, allocations: 7.562 kB / 1.223 GB, free: 15.66 MB / 0.9356 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.0001194/1.06, allocations: 99.83 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.88e-05/1.06, allocations: 18.58 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.06, allocations: 0 / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/1.06, allocations: 7.469 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/1.06, allocations: 17.62 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003351/1.06, allocations: 159.7 kB / 1.223 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/1.061, allocations: 0.7028 MB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.252e-05/1.061, allocations: 4.781 kB / 1.224 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/1.061, allocations: 11.28 kB / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/1.061, allocations: 0 / 1.224 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of Templates: time 0.003163/1.064, allocations: 483 kB / 1.224 GB, free: 14.43 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.429575708694756]