Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009873/0.0009873, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001002/0.001002, allocations: 161 kB / 23.82 MB, free: 0.7539 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.953/0.953, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.867/1.867, allocations: 359 MB / 0.6052 GB, free: 10.99 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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 0 / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.209e-05/1.329e-05, allocations: 6.312 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001434/0.001447, allocations: 0.8136 MB / 0.7879 GB, free: 10.58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001403/0.001588, allocations: 44.62 kB / 0.7879 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.001646, allocations: 4 kB / 0.7879 GB, free: 10.53 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.001689, allocations: 8.625 kB / 0.788 GB, free: 10.52 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000101/0.00179, allocations: 11.86 kB / 0.788 GB, free: 10.51 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 4.813e-05/0.001838, allocations: 16.73 kB / 0.788 GB, free: 10.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.001949, allocations: 63.78 kB / 0.788 GB, free: 10.43 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.002084, allocations: 40.41 kB / 0.7881 GB, free: 10.39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.042e-05/0.002164, allocations: 37.16 kB / 0.7881 GB, free: 10.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.002204, allocations: 19.91 kB / 0.7881 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.002224, allocations: 8 kB / 0.7881 GB, free: 10.33 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.983e-06/0.002231, allocations: 9.5 kB / 0.7882 GB, free: 10.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.002251, allocations: 15.98 kB / 0.7882 GB, free: 10.31 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.596e-05/0.002276, allocations: 19.92 kB / 0.7882 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.127e-05/0.002368, allocations: 43.77 kB / 0.7882 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.00237, allocations: 1.219 kB / 0.7882 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.61e-07/0.00237, allocations: 0 / 0.7882 GB, free: 10.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.002374, allocations: 0 / 0.7882 GB, free: 10.25 MB / 0.698 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.0003444/0.002719, allocations: 400.6 kB / 0.7886 GB, free: 9.816 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.002754, allocations: 13.44 kB / 0.7886 GB, free: 9.805 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.956e-05/0.002794, allocations: 20.84 kB / 0.7886 GB, free: 9.785 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.002943, allocations: 140.4 kB / 0.7888 GB, free: 9.621 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.002959, allocations: 8.375 kB / 0.7888 GB, free: 9.613 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.002972, allocations: 5.219 kB / 0.7888 GB, free: 9.609 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.003089, allocations: 97.44 kB / 0.7889 GB, free: 9.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.003099, allocations: 0.75 kB / 0.7889 GB, free: 9.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.003109, allocations: 4.375 kB / 0.7889 GB, free: 9.496 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.003119, allocations: 5.125 kB / 0.7889 GB, free: 9.492 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.003161, allocations: 23.92 kB / 0.7889 GB, free: 9.469 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.003569, allocations: 459.3 kB / 0.7894 GB, free: 8.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/0.003623, allocations: 54.78 kB / 0.7894 GB, free: 8.902 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.003656, allocations: 25.08 kB / 0.7894 GB, free: 8.871 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.525e-06/0.003663, allocations: 0 / 0.7894 GB, free: 8.871 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.003689, allocations: 45.42 kB / 0.7895 GB, free: 8.816 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.00369, allocations: 0 / 0.7895 GB, free: 8.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001399/0.00383, allocations: 46.69 kB / 0.7895 GB, free: 8.766 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.003866, allocations: 84.2 kB / 0.7896 GB, free: 8.668 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.003976, allocations: 185.8 kB / 0.7898 GB, free: 8.469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.427e-06/0.003986, allocations: 25.7 kB / 0.7898 GB, free: 8.438 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.897e-05/0.004055, allocations: 162.7 kB / 0.79 GB, free: 8.273 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.004062, allocations: 3.953 kB / 0.79 GB, free: 8.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.904e-05/0.004091, allocations: 27.36 kB / 0.79 GB, free: 8.234 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.004209, allocations: 492.1 kB / 0.7905 GB, free: 7.742 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.521e-05/0.004224, allocations: 8 kB / 0.7905 GB, free: 7.734 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.004245, allocations: 28.08 kB / 0.7905 GB, free: 7.699 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.905e-05/0.004284, allocations: 32.97 kB / 0.7905 GB, free: 7.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004286, allocations: 0 / 0.7905 GB, free: 7.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.559e-05/0.004341, allocations: 45.7 kB / 0.7906 GB, free: 7.609 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.004353, allocations: 5.156 kB / 0.7906 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.00436, allocations: 3.984 kB / 0.7906 GB, free: 7.602 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.004377, allocations: 0 / 0.7906 GB, free: 7.602 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.963e-05/0.004427, allocations: 12.88 kB / 0.7906 GB, free: 7.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.004433, allocations: 3.938 kB / 0.7906 GB, free: 7.586 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.617e-05/0.004449, allocations: 7.891 kB / 0.7906 GB, free: 7.578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.004454, allocations: 5.688 kB / 0.7906 GB, free: 7.574 MB / 0.698 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 6.024e-05/0.004515, allocations: 152.6 kB / 0.7907 GB, free: 7.414 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/0.004538, allocations: 4 kB / 0.7907 GB, free: 7.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.004563, allocations: 16.77 kB / 0.7908 GB, free: 7.398 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.004565, allocations: 0 / 0.7908 GB, free: 7.398 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.004568, allocations: 0 / 0.7908 GB, free: 7.398 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.004572, allocations: 3.938 kB / 0.7908 GB, free: 7.395 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.004834, allocations: 0.5388 MB / 0.7913 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.004841, allocations: 8.547 kB / 0.7913 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-06/0.00485, allocations: 1.406 kB / 0.7913 GB, free: 6.797 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.004854, allocations: 4 kB / 0.7913 GB, free: 6.793 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.004861, allocations: 3.938 kB / 0.7913 GB, free: 6.789 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.004862, allocations: 3.984 kB / 0.7913 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004863, allocations: 0.5938 kB / 0.7913 GB, free: 6.785 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.749e-05/0.00492, allocations: 85.77 kB / 0.7914 GB, free: 6.676 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.004939, allocations: 15.94 kB / 0.7914 GB, free: 6.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.004948, allocations: 3.938 kB / 0.7914 GB, free: 6.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.915e-06/0.004956, allocations: 0 / 0.7914 GB, free: 6.656 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.004971, allocations: 8.844 kB / 0.7914 GB, free: 6.648 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.004973, allocations: 0 / 0.7914 GB, free: 6.648 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.728e-05/0.00502, allocations: 143.2 kB / 0.7916 GB, free: 6.508 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00502, allocations: 0.5312 kB / 0.7916 GB, free: 6.508 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000129/0.005149, allocations: 12.48 kB / 0.7916 GB, free: 6.496 MB / 0.698 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.611e-05/0.005215, allocations: 96.95 kB / 0.7917 GB, free: 6.391 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.491e-05/0.00529, allocations: 27.62 kB / 0.7917 GB, free: 6.359 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.005292, allocations: 0.5312 kB / 0.7917 GB, free: 6.359 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.005302, allocations: 13.06 kB / 0.7917 GB, free: 6.344 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.00541, allocations: 2.188 kB / 0.7917 GB, free: 6.344 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.005669, allocations: 182.5 kB / 0.7919 GB, free: 6.125 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.274e-05/0.005701, allocations: 60.16 kB / 0.7919 GB, free: 6.047 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.005726, allocations: 9.016 kB / 0.7919 GB, free: 6.039 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.005748, allocations: 8.5 kB / 0.792 GB, free: 6.031 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/0.005749, allocations: 5.344 kB / 0.792 GB, free: 6.027 MB / 0.698 GB Notification: Performance of Templates: time 0.001865/0.007614, allocations: 338.2 kB / 0.7923 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_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: 5.027321431320161]