Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001177/0.001177, allocations: 76.55 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.001396/0.001396, allocations: 181.9 kB / 23.22 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.9051/0.9051, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.728/1.728, allocations: 377.8 MB / 0.6228 GB, free: 8.656 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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9822 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.475e-05/1.605e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.086 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001417/0.001433, allocations: 0.7906 MB / 0.983 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 9.314e-05/0.001526, allocations: 39.78 kB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.135e-05/0.001567, allocations: 4 kB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 3.364e-05/0.001601, allocations: 11.86 kB / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.394e-05/0.001665, allocations: 11.88 kB / 0.983 GB, free: 1.23 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.701e-05/0.001702, allocations: 15.98 kB / 0.9831 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.001791, allocations: 59.84 kB / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.001901, allocations: 35.89 kB / 0.9832 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 6.064e-05/0.001962, allocations: 35.92 kB / 0.9832 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.907e-05/0.002011, allocations: 27.83 kB / 0.9832 GB, free: 1.059 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.002034, allocations: 8 kB / 0.9832 GB, free: 1.051 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 6.853e-06/0.002041, allocations: 8 kB / 0.9832 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.002057, allocations: 7.938 kB / 0.9832 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.002082, allocations: 23.92 kB / 0.9833 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.002173, allocations: 71.69 kB / 0.9833 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.002174, allocations: 4 kB / 0.9833 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002175, allocations: 0 / 0.9833 GB, free: 0.9375 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.002179, allocations: 0 / 0.9833 GB, free: 0.9375 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.0003173/0.002496, allocations: 306 kB / 0.9836 GB, free: 0.6055 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.00253, allocations: 8.031 kB / 0.9836 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.002558, allocations: 12.84 kB / 0.9836 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.002703, allocations: 145.6 kB / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.002712, allocations: 384 / 0.9838 GB, free: 428 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.002723, allocations: 12.38 kB / 0.9838 GB, free: 416 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.002836, allocations: 83.95 kB / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.002844, allocations: 192 / 0.9839 GB, free: 320 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.002855, allocations: 8.375 kB / 0.9839 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.002859, allocations: 384 / 0.9839 GB, free: 312 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.351e-05/0.002923, allocations: 47.8 kB / 0.9839 GB, free: 264 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/0.003252, allocations: 352.4 kB / 0.9843 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.416e-05/0.003296, allocations: 37.28 kB / 0.9843 GB, free: 15.82 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.003321, allocations: 21.84 kB / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-06/0.003327, allocations: 0 / 0.9843 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.003344, allocations: 30.56 kB / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.003345, allocations: 0 / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.00013/0.003475, allocations: 57.58 kB / 0.9844 GB, free: 15.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.00351, allocations: 85.36 kB / 0.9845 GB, free: 15.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.003589, allocations: 137.6 kB / 0.9846 GB, free: 15.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.003597, allocations: 25.7 kB / 0.9846 GB, free: 15.42 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.003646, allocations: 115.9 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.308e-06/0.00365, allocations: 0 / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.003673, allocations: 17.67 kB / 0.9848 GB, free: 15.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.733e-05/0.003741, allocations: 322.8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.003754, allocations: 8 kB / 0.9851 GB, free: 14.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.471e-05/0.003769, allocations: 13.72 kB / 0.9851 GB, free: 14.93 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.158e-05/0.0038, allocations: 29.72 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.003803, allocations: 4 kB / 0.9851 GB, free: 14.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.468e-05/0.003857, allocations: 53.72 kB / 0.9852 GB, free: 14.83 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.003869, allocations: 8 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.003874, allocations: 3.984 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.003885, allocations: 0 / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.335e-05/0.003928, allocations: 4 kB / 0.9852 GB, free: 14.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.003934, allocations: 7.938 kB / 0.9852 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.00395, allocations: 11.88 kB / 0.9852 GB, free: 14.79 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.003954, allocations: 0 / 0.9852 GB, free: 14.79 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.273e-05/0.004006, allocations: 121.8 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/0.004026, allocations: 4 kB / 0.9853 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.517e-05/0.004041, allocations: 11.47 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.004043, allocations: 0 / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.004047, allocations: 0 / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.00405, allocations: 3.938 kB / 0.9853 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.004268, allocations: 418.4 kB / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.004269, allocations: 0 / 0.9857 GB, free: 14.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-06/0.004277, allocations: 4 kB / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.004278, allocations: 64 / 0.9858 GB, free: 14.19 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.004284, allocations: 7.938 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.004285, allocations: 0 / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.004285, allocations: 4 kB / 0.9858 GB, free: 14.18 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.641e-05/0.004332, allocations: 69.98 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.183e-05/0.004343, allocations: 3.953 kB / 0.9858 GB, free: 14.09 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.004354, allocations: 15.86 kB / 0.9858 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.007e-06/0.004363, allocations: 4 kB / 0.9859 GB, free: 14.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.094e-05/0.004374, allocations: 3.938 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.004376, allocations: 4 kB / 0.9859 GB, free: 14.06 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.004415, allocations: 101.5 kB / 0.986 GB, free: 13.96 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004415, allocations: 7.969 kB / 0.986 GB, free: 13.95 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001292/0.004544, allocations: 15.95 kB / 0.986 GB, free: 13.94 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 6.421e-05/0.004608, allocations: 91.78 kB / 0.9861 GB, free: 13.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.388e-05/0.004672, allocations: 19.98 kB / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.004673, allocations: 0 / 0.9861 GB, free: 13.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.464e-06/0.004681, allocations: 7.938 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.0001086/0.004789, allocations: 10.92 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.0002231/0.005013, allocations: 188.5 kB / 0.9863 GB, free: 13.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.3e-05/0.005056, allocations: 79.31 kB / 0.9864 GB, free: 13.48 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.023e-05/0.005076, allocations: 8.5 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/0.005076, allocations: 4 kB / 0.9864 GB, free: 13.46 MB / 0.948 GB Notification: Performance of Templates: time 0.001326/0.006402, allocations: 0.8052 MB / 0.9872 GB, free: 12.66 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.465329231694341]