Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009656/0.0009656, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001077/0.001077, allocations: 167.8 kB / 24.87 MB, free: 9.277 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.9796/0.9796, allocations: 177.1 MB / 205.3 MB, free: 5.066 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.754/1.754, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.865e-05, allocations: 5.266 kB / 0.7883 GB, free: 12.21 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.004621/0.00464, allocations: 0.8117 MB / 0.7891 GB, free: 11.42 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.004758, allocations: 40.53 kB / 0.7891 GB, free: 11.38 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.244e-05/0.00481, allocations: 0.9062 kB / 0.7891 GB, free: 11.38 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.004849, allocations: 11.86 kB / 0.7892 GB, free: 11.37 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.004929, allocations: 11.81 kB / 0.7892 GB, free: 11.36 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 4.572e-05/0.004974, allocations: 24.62 kB / 0.7892 GB, free: 11.33 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 9.86e-05/0.005073, allocations: 61.09 kB / 0.7893 GB, free: 11.27 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.005182, allocations: 31.97 kB / 0.7893 GB, free: 11.24 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 9.096e-05/0.005273, allocations: 47.77 kB / 0.7893 GB, free: 11.2 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.005308, allocations: 13.58 kB / 0.7893 GB, free: 11.18 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.005324, allocations: 8 kB / 0.7894 GB, free: 11.18 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-06/0.005332, allocations: 7.938 kB / 0.7894 GB, free: 11.17 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 2.014e-05/0.005352, allocations: 7.984 kB / 0.7894 GB, free: 11.16 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.005377, allocations: 19.92 kB / 0.7894 GB, free: 11.14 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 8.862e-05/0.005465, allocations: 51.2 kB / 0.7894 GB, free: 11.09 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005467, allocations: 0 / 0.7894 GB, free: 11.09 MB / 0.7449 GB Notification: Performance of FrontEnd: time 5.91e-07/0.005468, allocations: 0 / 0.7894 GB, free: 11.09 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.005472, allocations: 0 / 0.7894 GB, free: 11.09 MB / 0.7449 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.0003358/0.005808, allocations: 408.2 kB / 0.7898 GB, free: 10.66 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.005842, allocations: 8.031 kB / 0.7898 GB, free: 10.65 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.005874, allocations: 12.89 kB / 0.7898 GB, free: 10.64 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.006002, allocations: 148.4 kB / 0.79 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.006012, allocations: 5.094 kB / 0.79 GB, free: 10.46 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.006022, allocations: 8.375 kB / 0.79 GB, free: 10.45 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.787e-05/0.00612, allocations: 83.25 kB / 0.7901 GB, free: 10.36 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.006128, allocations: 192 / 0.7901 GB, free: 10.36 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.006137, allocations: 4.375 kB / 0.7901 GB, free: 10.36 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.006144, allocations: 4.375 kB / 0.7901 GB, free: 10.35 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.574e-05/0.006179, allocations: 27.8 kB / 0.7901 GB, free: 10.32 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.006593, allocations: 0.7236 MB / 0.7908 GB, free: 9.555 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.006671, allocations: 265.6 kB / 0.7911 GB, free: 9.281 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.006702, allocations: 135.5 kB / 0.7912 GB, free: 9.145 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.006731, allocations: 123.2 kB / 0.7913 GB, free: 9.023 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.006776, allocations: 153.3 kB / 0.7915 GB, free: 8.863 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.006777, allocations: 0 / 0.7915 GB, free: 8.863 MB / 0.7449 GB Notification: Performance of matching and sorting (n=0): time 5.252e-05/0.00683, allocations: 34.75 kB / 0.7915 GB, free: 8.824 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.006884, allocations: 178.6 kB / 0.7917 GB, free: 8.637 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.006989, allocations: 195 kB / 0.7919 GB, free: 8.43 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.006996, allocations: 30.53 kB / 0.7919 GB, free: 8.395 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 7.164e-05/0.007068, allocations: 174.4 kB / 0.792 GB, free: 8.219 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-06/0.007072, allocations: 5.344 kB / 0.7921 GB, free: 8.215 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.007106, allocations: 27.36 kB / 0.7921 GB, free: 8.18 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.007231, allocations: 0.4961 MB / 0.7926 GB, free: 7.672 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-06/0.007238, allocations: 0.5625 kB / 0.7926 GB, free: 7.672 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.491e-05/0.007283, allocations: 81.42 kB / 0.7926 GB, free: 7.559 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003081/0.01036, allocations: 92.45 kB / 0.7927 GB, free: 7.438 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01037, allocations: 1.438 kB / 0.7927 GB, free: 7.438 MB / 0.7449 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001225/0.01049, allocations: 81.98 kB / 0.7928 GB, free: 7.352 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.0105, allocations: 10.41 kB / 0.7928 GB, free: 7.344 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.01051, allocations: 0.5312 kB / 0.7928 GB, free: 7.344 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.01052, allocations: 4.844 kB / 0.7928 GB, free: 7.34 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.104e-05/0.01057, allocations: 15.98 kB / 0.7928 GB, free: 7.324 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.01057, allocations: 0 / 0.7928 GB, free: 7.324 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.0106, allocations: 8.781 kB / 0.7928 GB, free: 7.316 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.01061, allocations: 8 kB / 0.7929 GB, free: 7.309 MB / 0.7449 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.089e-05/0.0107, allocations: 284.2 kB / 0.7931 GB, free: 7.02 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.4e-05/0.01076, allocations: 154.2 kB / 0.7933 GB, free: 6.863 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.01081, allocations: 160.7 kB / 0.7934 GB, free: 6.699 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.143e-05/0.01087, allocations: 272 kB / 0.7937 GB, free: 6.426 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.974e-05/0.01093, allocations: 264.9 kB / 0.7939 GB, free: 6.16 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-05/0.011, allocations: 280 kB / 0.7942 GB, free: 5.879 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.01119, allocations: 488.5 kB / 0.7947 GB, free: 5.367 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/0.01123, allocations: 149.8 kB / 0.7948 GB, free: 5.215 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.32e-05/0.01126, allocations: 148.8 kB / 0.795 GB, free: 5.062 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.147e-05/0.01132, allocations: 273.3 kB / 0.7952 GB, free: 4.789 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.287e-05/0.01139, allocations: 268 kB / 0.7955 GB, free: 4.52 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.98e-05/0.01145, allocations: 264.1 kB / 0.7957 GB, free: 4.254 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-05/0.01151, allocations: 276.9 kB / 0.796 GB, free: 3.977 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.01165, allocations: 451.9 kB / 0.7964 GB, free: 3.508 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.0117, allocations: 156.8 kB / 0.7966 GB, free: 3.348 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.202e-05/0.01177, allocations: 270.3 kB / 0.7968 GB, free: 3.078 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.01184, allocations: 156.8 kB / 0.797 GB, free: 2.918 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.363e-05/0.01191, allocations: 268.4 kB / 0.7972 GB, free: 2.648 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.01194, allocations: 144.9 kB / 0.7974 GB, free: 2.5 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.012, allocations: 140.5 kB / 0.7975 GB, free: 2.363 MB / 0.7449 GB Notification: Performance of sort global known variables: time 6e-08/0.012, allocations: 0 / 0.7975 GB, free: 2.363 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0002237/0.01222, allocations: 19.14 kB / 0.7975 GB, free: 2.348 MB / 0.7449 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001026/0.01232, allocations: 218.4 kB / 0.7977 GB, free: 2.125 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 6.562e-05/0.01239, allocations: 31.59 kB / 0.7978 GB, free: 2.09 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01239, allocations: 4 kB / 0.7978 GB, free: 2.086 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.01239, allocations: 5.125 kB / 0.7978 GB, free: 2.082 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.01274, allocations: 0.7101 MB / 0.7985 GB, free: 1.367 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.01297, allocations: 277.5 kB / 0.7987 GB, free: 1.066 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.518e-05/0.013, allocations: 59.94 kB / 0.7988 GB, free: 0.9883 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 3.348e-05/0.01303, allocations: 8.047 kB / 0.7988 GB, free: 0.9805 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.01307, allocations: 70.2 kB / 0.7989 GB, free: 0.9102 MB / 0.7449 GB Notification: Performance of SimCode: time 5.61e-07/0.01307, allocations: 3.938 kB / 0.7989 GB, free: 0.9062 MB / 0.7449 GB Notification: Performance of Templates: time 0.004834/0.0179, allocations: 336 kB / 0.7992 GB, free: 0.5938 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.845377917867154]