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.0008366/0.0008366, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008372/0.0008372, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8747/0.8747, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.737/1.737, allocations: 377.8 MB / 0.6228 GB, free: 8.633 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.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.9822 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.572e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001312/0.001338, allocations: 0.7907 MB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.001457, allocations: 39.78 kB / 0.983 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.495e-05/0.001512, allocations: 4 kB / 0.983 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.001546, allocations: 7.875 kB / 0.983 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.001623, allocations: 11.88 kB / 0.983 GB, free: 1.191 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 4.17e-05/0.001665, allocations: 23.97 kB / 0.9831 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.973e-05/0.001764, allocations: 63.83 kB / 0.9831 GB, free: 1.105 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.00189, allocations: 23.98 kB / 0.9831 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.001976, allocations: 51.77 kB / 0.9832 GB, free: 1.031 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.498e-05/0.002021, allocations: 15.92 kB / 0.9832 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.797e-05/0.002049, allocations: 4 kB / 0.9832 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 8.717e-06/0.002058, allocations: 8 kB / 0.9832 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.002079, allocations: 11.92 kB / 0.9832 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.095e-05/0.00211, allocations: 27.91 kB / 0.9833 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.002221, allocations: 75.64 kB / 0.9833 GB, free: 0.8906 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002223, allocations: 4 kB / 0.9833 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002224, allocations: 0 / 0.9833 GB, free: 0.8867 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.002228, allocations: 0 / 0.9833 GB, free: 0.8867 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.0003573/0.002586, allocations: 306 kB / 0.9836 GB, free: 0.5547 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.00263, allocations: 8.031 kB / 0.9836 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/0.002667, allocations: 16.84 kB / 0.9836 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.002836, allocations: 133.6 kB / 0.9838 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.002848, allocations: 8.375 kB / 0.9838 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.002864, allocations: 8.375 kB / 0.9838 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.002986, allocations: 87.95 kB / 0.9839 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.002994, allocations: 4.188 kB / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.003005, allocations: 4.375 kB / 0.9839 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.00301, allocations: 384 / 0.9839 GB, free: 260 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.003067, allocations: 39.86 kB / 0.9839 GB, free: 220 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003848/0.003452, allocations: 360.4 kB / 0.9843 GB, free: 15.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.0035, allocations: 45.38 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.715e-05/0.003527, allocations: 17.72 kB / 0.9843 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/0.003534, allocations: 0 / 0.9843 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.856e-05/0.003553, allocations: 42.5 kB / 0.9844 GB, free: 15.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.003553, allocations: 0 / 0.9844 GB, free: 15.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.003687, allocations: 49.59 kB / 0.9844 GB, free: 15.64 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.003728, allocations: 85.03 kB / 0.9845 GB, free: 15.54 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.089e-05/0.003819, allocations: 136.3 kB / 0.9846 GB, free: 15.39 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.003827, allocations: 25.7 kB / 0.9846 GB, free: 15.36 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.00388, allocations: 108 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.003887, allocations: 7.953 kB / 0.9848 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.003913, allocations: 17.66 kB / 0.9848 GB, free: 15.22 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.003986, allocations: 319.1 kB / 0.9851 GB, free: 14.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.003998, allocations: 8 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.819e-05/0.004016, allocations: 21.7 kB / 0.9851 GB, free: 14.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.084e-05/0.004047, allocations: 25.72 kB / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.00405, allocations: 0 / 0.9851 GB, free: 14.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.034e-05/0.0041, allocations: 53.64 kB / 0.9852 GB, free: 14.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.004113, allocations: 7.984 kB / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.004117, allocations: 0 / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00413, allocations: 0 / 0.9852 GB, free: 14.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.00418, allocations: 12.06 kB / 0.9852 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.004186, allocations: 3.938 kB / 0.9852 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.004199, allocations: 0 / 0.9852 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.004203, allocations: 7.938 kB / 0.9852 GB, free: 14.75 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.51e-05/0.004258, allocations: 117.8 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/0.004277, allocations: 3.953 kB / 0.9853 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.865e-05/0.004295, allocations: 15.45 kB / 0.9853 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.004297, allocations: 0 / 0.9853 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.004301, allocations: 0 / 0.9853 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.004304, allocations: 3.938 kB / 0.9853 GB, free: 14.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.004533, allocations: 422.4 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.004534, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.457e-06/0.004544, allocations: 4 kB / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.004545, allocations: 0 / 0.9858 GB, free: 14.14 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.004553, allocations: 7.938 kB / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.004554, allocations: 0 / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.004556, allocations: 4 kB / 0.9858 GB, free: 14.13 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.914e-05/0.004605, allocations: 69.98 kB / 0.9858 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.004619, allocations: 11.89 kB / 0.9858 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.00463, allocations: 7.969 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.004638, allocations: 4 kB / 0.9859 GB, free: 14.02 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.416e-05/0.004652, allocations: 8 kB / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-06/0.004654, allocations: 0 / 0.9859 GB, free: 14.01 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.004699, allocations: 99.27 kB / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.004699, allocations: 0 / 0.986 GB, free: 13.91 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001201/0.004819, allocations: 11.95 kB / 0.986 GB, free: 13.9 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.525e-05/0.004895, allocations: 103.8 kB / 0.9861 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.542e-05/0.00496, allocations: 12 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.004961, allocations: 8.062 kB / 0.9861 GB, free: 13.77 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.843e-06/0.004968, allocations: 4 kB / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001042/0.005072, allocations: 6.656 kB / 0.9861 GB, free: 13.76 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.005309, allocations: 192.2 kB / 0.9863 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.005356, allocations: 75.33 kB / 0.9864 GB, free: 13.43 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.005381, allocations: 12.5 kB / 0.9864 GB, free: 13.42 MB / 0.948 GB Notification: Performance of SimCode: time 4.31e-07/0.005382, allocations: 0 / 0.9864 GB, free: 13.42 MB / 0.948 GB Notification: Performance of Templates: time 0.001437/0.006819, allocations: 0.8054 MB / 0.9872 GB, free: 12.61 MB / 0.948 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: 6.504525063559413]