Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009589/0.0009589, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001065/0.001065, allocations: 181 kB / 23.36 MB, free: 1.133 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.9631/0.9631, allocations: 177.1 MB / 203.8 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.429/2.429, allocations: 438.8 MB / 0.6827 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.294e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001279/0.001292, allocations: 0.814 MB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001166/0.001408, allocations: 47.72 kB / 0.8394 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.001451, allocations: 4 kB / 0.8394 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.001483, allocations: 11.86 kB / 0.8394 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.062e-05/0.001553, allocations: 7.875 kB / 0.8395 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 3.938e-05/0.001593, allocations: 15.98 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.525e-05/0.001678, allocations: 67.78 kB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.992e-05/0.001778, allocations: 35.94 kB / 0.8396 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.001867, allocations: 47.83 kB / 0.8396 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.001899, allocations: 11.98 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.001916, allocations: 4 kB / 0.8396 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.001923, allocations: 8 kB / 0.8396 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.615e-05/0.001939, allocations: 11.92 kB / 0.8396 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.001961, allocations: 19.92 kB / 0.8397 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 7.886e-05/0.00204, allocations: 55.64 kB / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.002042, allocations: 0 / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.71e-07/0.002042, allocations: 0 / 0.8397 GB, free: 13.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.475e-06/0.002045, allocations: 4 kB / 0.8397 GB, free: 13.01 MB / 0.8073 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.000256/0.002301, allocations: 276.6 kB / 0.84 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.843e-05/0.002329, allocations: 8.625 kB / 0.84 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.002352, allocations: 12.92 kB / 0.84 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.002459, allocations: 137.6 kB / 0.8401 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.985e-06/0.002467, allocations: 4.375 kB / 0.8401 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.002477, allocations: 8.375 kB / 0.8402 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.911e-05/0.002556, allocations: 85.81 kB / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.079e-06/0.002561, allocations: 192 / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.473e-06/0.002567, allocations: 384 / 0.8402 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.002572, allocations: 8.375 kB / 0.8402 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.623e-05/0.002598, allocations: 19.88 kB / 0.8403 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.002908, allocations: 0.505 MB / 0.8408 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.986e-05/0.002968, allocations: 173.1 kB / 0.8409 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.986e-05/0.002988, allocations: 80.14 kB / 0.841 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.003004, allocations: 75.28 kB / 0.8411 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.003034, allocations: 109.8 kB / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 6.31e-07/0.003034, allocations: 0 / 0.8412 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.072e-05/0.003075, allocations: 29.73 kB / 0.8412 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.003112, allocations: 130.7 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.417e-05/0.003186, allocations: 152.3 kB / 0.8415 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.003193, allocations: 25.7 kB / 0.8415 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.422e-05/0.003237, allocations: 123.8 kB / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-06/0.003239, allocations: 0 / 0.8416 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.313e-05/0.003262, allocations: 25.67 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.269e-05/0.003335, allocations: 326.8 kB / 0.8419 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-06/0.003339, allocations: 4 kB / 0.842 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.00337, allocations: 70.77 kB / 0.842 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.928e-05/0.003419, allocations: 62.75 kB / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.003421, allocations: 0 / 0.8421 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001014/0.003522, allocations: 73.48 kB / 0.8421 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.003535, allocations: 12.25 kB / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.00354, allocations: 0 / 0.8422 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.00355, allocations: 4 kB / 0.8422 GB, free: 10.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.003611, allocations: 15.98 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.003616, allocations: 3.938 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.348e-05/0.00364, allocations: 7.938 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.003646, allocations: 8 kB / 0.8422 GB, free: 10.25 MB / 0.8073 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 7.025e-05/0.003716, allocations: 189.1 kB / 0.8424 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.829e-05/0.003754, allocations: 112.9 kB / 0.8425 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.217e-05/0.003796, allocations: 112.8 kB / 0.8426 GB, free: 9.812 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.396e-05/0.00384, allocations: 180.3 kB / 0.8428 GB, free: 9.629 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.834e-05/0.003889, allocations: 184.2 kB / 0.8429 GB, free: 9.441 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.574e-05/0.003934, allocations: 188.2 kB / 0.8431 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001611/0.004095, allocations: 337.3 kB / 0.8434 GB, free: 8.895 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/0.004123, allocations: 101 kB / 0.8435 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.038e-05/0.004153, allocations: 105 kB / 0.8436 GB, free: 8.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-05/0.004209, allocations: 180.2 kB / 0.8438 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.174e-05/0.004261, allocations: 180.3 kB / 0.844 GB, free: 8.312 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-05/0.004305, allocations: 188.2 kB / 0.8442 GB, free: 8.121 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-05/0.004352, allocations: 176.5 kB / 0.8443 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.00447, allocations: 315.7 kB / 0.8446 GB, free: 7.609 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-05/0.004511, allocations: 116.9 kB / 0.8447 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.004573, allocations: 180.2 kB / 0.8449 GB, free: 7.305 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.943e-05/0.004622, allocations: 105 kB / 0.845 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.004672, allocations: 180.3 kB / 0.8452 GB, free: 7.012 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.004702, allocations: 108.9 kB / 0.8453 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.004729, allocations: 30.2 kB / 0.8453 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.1e-08/0.004729, allocations: 0 / 0.8453 GB, free: 6.867 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001343/0.004863, allocations: 7.953 kB / 0.8453 GB, free: 6.859 MB / 0.8073 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 8.503e-05/0.004948, allocations: 151.7 kB / 0.8455 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.319e-05/0.005002, allocations: 32.78 kB / 0.8455 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.005004, allocations: 0 / 0.8455 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.064e-06/0.005006, allocations: 7.875 kB / 0.8455 GB, free: 6.66 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001776/0.005184, allocations: 470 kB / 0.846 GB, free: 6.199 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001981/0.005382, allocations: 228 kB / 0.8462 GB, free: 5.949 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.03e-05/0.005412, allocations: 59.34 kB / 0.8462 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.987e-05/0.005442, allocations: 13.22 kB / 0.8462 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.00547, allocations: 51.38 kB / 0.8463 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.005471, allocations: 0 / 0.8463 GB, free: 5.805 MB / 0.8073 GB Notification: Performance of Templates: time 0.001493/0.006964, allocations: 324.8 kB / 0.8466 GB, free: 5.488 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.245481210295111]