Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.001883/0.001883, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.002398/0.002398, allocations: 189.6 kB / 22.23 MB, free: 5.133 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.558/1.558, allocations: 225.6 MB / 251 MB, free: 13.05 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.5 MB / 0.7321 GB, free: 12.31 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 1.061 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 160.8 MB / 1.218 GB, free: 3.641 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.00354/1.031, allocations: 0.8384 MB / 1.219 GB, free: 3.004 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002499/1.031, allocations: 44.84 kB / 1.219 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/1.031, allocations: 2.438 kB / 1.219 GB, free: 2.965 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.547e-05/1.031, allocations: 7.875 kB / 1.219 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001318/1.031, allocations: 13 kB / 1.219 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.594e-05/1.031, allocations: 19.5 kB / 1.219 GB, free: 2.93 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001762/1.032, allocations: 62.78 kB / 1.219 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/1.032, allocations: 34.02 kB / 1.219 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/1.032, allocations: 33.02 kB / 1.22 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.531e-05/1.032, allocations: 28.45 kB / 1.22 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.607e-05/1.032, allocations: 5.875 kB / 1.22 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/1.032, allocations: 6.812 kB / 1.22 GB, free: 2.82 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.426e-05/1.032, allocations: 17.39 kB / 1.22 GB, free: 2.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.151e-05/1.032, allocations: 27.22 kB / 1.22 GB, free: 2.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/1.032, allocations: 84.08 kB / 1.22 GB, free: 2.723 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.032, allocations: 0 / 1.22 GB, free: 2.723 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.304e-06/1.032, allocations: 0 / 1.22 GB, free: 2.723 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.197e-06/1.032, allocations: 0 / 1.22 GB, free: 2.723 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.0006603/1.033, allocations: 378.6 kB / 1.22 GB, free: 2.324 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/1.033, allocations: 13.38 kB / 1.22 GB, free: 2.32 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.549e-05/1.033, allocations: 17.91 kB / 1.22 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/1.033, allocations: 190.1 kB / 1.22 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/1.033, allocations: 8 kB / 1.22 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/1.033, allocations: 9.656 kB / 1.22 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/1.034, allocations: 91.77 kB / 1.22 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.034, allocations: 192 / 1.22 GB, free: 2.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.034, allocations: 9.062 kB / 1.22 GB, free: 2.004 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/1.034, allocations: 6.438 kB / 1.22 GB, free: 2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.331e-05/1.034, allocations: 34.64 kB / 1.22 GB, free: 1.984 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/1.035, allocations: 441.7 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.06e-05/1.035, allocations: 41.06 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/1.035, allocations: 26.75 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/1.035, allocations: 0 / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/1.035, allocations: 32.91 kB / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/1.035, allocations: 0 / 1.221 GB, free: 1.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002412/1.035, allocations: 58.42 kB / 1.221 GB, free: 1.371 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/1.035, allocations: 78.61 kB / 1.221 GB, free: 1.277 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/1.035, allocations: 161.6 kB / 1.221 GB, free: 1.145 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.038e-05/1.035, allocations: 25.7 kB / 1.221 GB, free: 1.113 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.653e-05/1.035, allocations: 108.5 kB / 1.221 GB, free: 1.008 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.183e-05/1.035, allocations: 5.203 kB / 1.221 GB, free: 1.004 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/1.036, allocations: 13.94 kB / 1.221 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000196/1.036, allocations: 321 kB / 1.222 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/1.036, allocations: 7.406 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/1.036, allocations: 18.59 kB / 1.222 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.005e-05/1.036, allocations: 29.78 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.036, allocations: 1.031 kB / 1.222 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001164/1.036, allocations: 62.69 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/1.036, allocations: 4.844 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.036, allocations: 5.062 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/1.036, allocations: 1.219 kB / 1.222 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/1.036, allocations: 9.719 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.036, allocations: 7.922 kB / 1.222 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.931e-05/1.036, allocations: 10.16 kB / 1.222 GB, free: 0.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/1.036, allocations: 2.5 kB / 1.222 GB, free: 0.543 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 0.0001206/1.036, allocations: 121 kB / 1.222 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/1.036, allocations: 7.234 kB / 1.222 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.562e-05/1.036, allocations: 15.11 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.036, allocations: 1.125 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.036, allocations: 5.219 kB / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/1.036, allocations: 0 / 1.222 GB, free: 408 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005367/1.037, allocations: 478.4 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.037, allocations: 5.062 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/1.037, allocations: 2.969 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.037, allocations: 0 / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/1.037, allocations: 1.094 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.037, allocations: 1.094 kB / 1.222 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.037, allocations: 9.094 kB / 1.222 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/1.037, allocations: 77.88 kB / 1.222 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.828e-05/1.037, allocations: 88.62 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/1.037, allocations: 1.406 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/1.037, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/1.037, allocations: 5.172 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/1.037, allocations: 9.312 kB / 1.223 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001184/1.037, allocations: 116.4 kB / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.037, allocations: 0 / 1.223 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000196/1.037, allocations: 10.69 kB / 1.223 GB, free: 15.59 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.0001594/1.038, allocations: 98.58 kB / 1.223 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001174/1.038, allocations: 18.34 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.038, allocations: 0 / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.195e-05/1.038, allocations: 8.406 kB / 1.223 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/1.038, allocations: 15.06 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004606/1.038, allocations: 167.2 kB / 1.223 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/1.039, allocations: 0.6902 MB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.557e-05/1.039, allocations: 9.047 kB / 1.224 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/1.039, allocations: 15.56 kB / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/1.039, allocations: 0 / 1.224 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of Templates: time 0.003889/1.043, allocations: 479.1 kB / 1.224 GB, free: 14.35 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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.546697922982275]