Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.001948/0.001948, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.002274/0.002274, allocations: 164.7 kB / 22.46 MB, free: 5.371 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.62/1.62, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 3.029/3.029, allocations: 377.8 MB / 0.6221 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] 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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.62e-05/3.802e-05, allocations: 9.312 kB / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00206/0.002098, allocations: 0.7908 MB / 0.9822 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001398/0.002238, allocations: 43.78 kB / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.002301, allocations: 0 / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.653e-05/0.002347, allocations: 11.86 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.623e-05/0.002443, allocations: 11.88 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.255e-05/0.002496, allocations: 15.98 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.00263, allocations: 71.77 kB / 0.9824 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.002811, allocations: 39.84 kB / 0.9824 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.002913, allocations: 35.91 kB / 0.9824 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.395e-05/0.002967, allocations: 15.92 kB / 0.9824 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.18e-05/0.002999, allocations: 8 kB / 0.9825 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.003009, allocations: 4 kB / 0.9825 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.003043, allocations: 19.91 kB / 0.9825 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.729e-05/0.00308, allocations: 15.94 kB / 0.9825 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.003227, allocations: 75.69 kB / 0.9826 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.003229, allocations: 0 / 0.9826 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.31e-07/0.00323, allocations: 4 kB / 0.9826 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.003239, allocations: 0 / 0.9826 GB, free: 10.8 MB / 0.9356 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.0005509/0.00379, allocations: 306 kB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.003828, allocations: 8.031 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.003872, allocations: 20.78 kB / 0.9829 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.004109, allocations: 129.7 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.004127, allocations: 8.375 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.004147, allocations: 8.375 kB / 0.983 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.004333, allocations: 91.89 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.004342, allocations: 192 / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.004357, allocations: 8.375 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.004366, allocations: 4.375 kB / 0.9831 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.004447, allocations: 39.92 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000514/0.004961, allocations: 352.4 kB / 0.9835 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.483e-05/0.005026, allocations: 33.22 kB / 0.9835 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.005065, allocations: 21.77 kB / 0.9836 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.005079, allocations: 3.984 kB / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.005109, allocations: 38.59 kB / 0.9836 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.00511, allocations: 4 kB / 0.9836 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.00529, allocations: 49.59 kB / 0.9836 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.005348, allocations: 81.11 kB / 0.9837 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.005483, allocations: 135.4 kB / 0.9838 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.005498, allocations: 25.7 kB / 0.9839 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.774e-05/0.005586, allocations: 115.9 kB / 0.984 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.673e-06/0.005593, allocations: 0 / 0.984 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.005634, allocations: 25.66 kB / 0.984 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002004/0.005834, allocations: 310.8 kB / 0.9843 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.299e-05/0.005857, allocations: 12.25 kB / 0.9843 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-05/0.005882, allocations: 25.64 kB / 0.9843 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.005934, allocations: 33.66 kB / 0.9844 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.005936, allocations: 3.938 kB / 0.9844 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.494e-05/0.006021, allocations: 45.7 kB / 0.9844 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.006036, allocations: 6.188 kB / 0.9844 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.00604, allocations: 0 / 0.9844 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.006057, allocations: 4 kB / 0.9844 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/0.006122, allocations: 11.92 kB / 0.9844 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.00613, allocations: 8 kB / 0.9844 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.931e-05/0.006199, allocations: 7.891 kB / 0.9845 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.006204, allocations: 4 kB / 0.9845 GB, free: 8.652 MB / 0.9356 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.386e-05/0.006298, allocations: 113.8 kB / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.006336, allocations: 0 / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.015e-05/0.006356, allocations: 11.47 kB / 0.9846 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.006368, allocations: 0 / 0.9846 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.006375, allocations: 3.984 kB / 0.9846 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.006384, allocations: 7.938 kB / 0.9846 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004622/0.006847, allocations: 414.4 kB / 0.985 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.00685, allocations: 4 kB / 0.985 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.979e-05/0.00687, allocations: 3.984 kB / 0.985 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.006874, allocations: 4 kB / 0.985 GB, free: 8.051 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.006883, allocations: 3.938 kB / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.006884, allocations: 0 / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.006885, allocations: 0 / 0.985 GB, free: 8.047 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.393e-05/0.006979, allocations: 69.94 kB / 0.9851 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.007058, allocations: 11.94 kB / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.007072, allocations: 3.938 kB / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.007092, allocations: 8.094 kB / 0.9851 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.627e-05/0.007108, allocations: 4 kB / 0.9851 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.00711, allocations: 0 / 0.9851 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.291e-05/0.007183, allocations: 98.27 kB / 0.9852 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.007183, allocations: 0 / 0.9852 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001955/0.007378, allocations: 15.95 kB / 0.9852 GB, free: 7.82 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.0001454/0.007524, allocations: 95.78 kB / 0.9853 GB, free: 7.715 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.376e-05/0.007618, allocations: 19.92 kB / 0.9853 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.007622, allocations: 4.125 kB / 0.9853 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.007632, allocations: 11.94 kB / 0.9853 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.007785, allocations: 6.578 kB / 0.9853 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003646/0.00815, allocations: 166.6 kB / 0.9855 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.969e-05/0.00823, allocations: 75.33 kB / 0.9856 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.997e-05/0.00826, allocations: 7.938 kB / 0.9856 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.979e-05/0.008289, allocations: 8.625 kB / 0.9856 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of SimCode: time 3.2e-07/0.00829, allocations: 4 kB / 0.9856 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of Templates: time 0.003036/0.01133, allocations: 344.5 kB / 0.9859 GB, free: 7.027 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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: 8.55540107563138]