Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001289/0.00129, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.669/2.669, allocations: 436.5 MB / 0.7104 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004922, allocations: 11.98 kB / 0.8708 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8943/0.8948, allocations: 153.6 MB / 1.021 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001136/0.896, allocations: 0.5238 MB / 1.021 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001161/0.8962, allocations: 39.8 kB / 1.021 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.711e-05/0.8962, allocations: 0 / 1.021 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.02e-05/0.8962, allocations: 3.938 kB / 1.021 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.8963, allocations: 19.91 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 3.8e-05/0.8964, allocations: 4 kB / 1.021 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.8965, allocations: 43.89 kB / 1.021 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.8966, allocations: 32.16 kB / 1.021 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.43e-05/0.8967, allocations: 19.86 kB / 1.021 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.589e-05/0.8968, allocations: 19.86 kB / 1.021 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.8968, allocations: 4 kB / 1.022 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-06/0.8968, allocations: 0 / 1.022 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.8968, allocations: 11.92 kB / 1.022 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.8969, allocations: 37.64 kB / 1.022 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 7.618e-05/0.897, allocations: 43.89 kB / 1.022 GB, free: 328 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.897, allocations: 4 kB / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.123e-06/0.897, allocations: 0 / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.897, allocations: 0 / 1.022 GB, free: 324 kB / 0.7637 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.0004805/0.8975, allocations: 369.1 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.8975, allocations: 11.98 kB / 1.022 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.8976, allocations: 15.81 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.8978, allocations: 190.9 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.8978, allocations: 8 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.8978, allocations: 8 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.898, allocations: 100.8 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.898, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.8981, allocations: 4 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.8981, allocations: 3.938 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.019e-05/0.8982, allocations: 39.92 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005478/0.8987, allocations: 432.7 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.358e-05/0.8988, allocations: 37.25 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/0.8988, allocations: 3.938 kB / 1.023 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.8988, allocations: 38.69 kB / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.8988, allocations: 0 / 1.023 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.899, allocations: 57.48 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.8991, allocations: 81.11 kB / 1.023 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.8992, allocations: 159.9 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.8993, allocations: 25.7 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.8993, allocations: 104 kB / 1.023 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.146e-05/0.8993, allocations: 12.08 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.8994, allocations: 8 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.8995, allocations: 314.8 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.8995, allocations: 4 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.33e-05/0.8995, allocations: 25.64 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.8996, allocations: 8 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.8996, allocations: 0 / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.728e-05/0.8997, allocations: 61.55 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.8997, allocations: 7.984 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.8997, allocations: 96 / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.8997, allocations: 3.984 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.034e-05/0.8998, allocations: 11.95 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.8998, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.8998, allocations: 8 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-06/0.8999, allocations: 0 / 1.024 GB, free: 13.96 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.22e-05/0.8999, allocations: 117.8 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.952e-05/0.9, allocations: 11.97 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.9, allocations: 11.86 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.9, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.9, allocations: 3.953 kB / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9, allocations: 0 / 1.024 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.9004, allocations: 470.7 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.9004, allocations: 0 / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.9004, allocations: 7.938 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.9004, allocations: 4.062 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.9005, allocations: 7.953 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.9005, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9005, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.055e-05/0.9006, allocations: 87.61 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.9006, allocations: 96.98 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.9006, allocations: 3.938 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.9007, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.9007, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.9007, allocations: 4 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.893e-05/0.9008, allocations: 121.9 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9008, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001831/0.901, allocations: 11.94 kB / 1.025 GB, free: 12.9 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001193/0.9011, allocations: 99.25 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.862e-05/0.9012, allocations: 16 kB / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.9012, allocations: 0 / 1.025 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.462e-05/0.9012, allocations: 11.92 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000125/0.9014, allocations: 10.06 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.9017, allocations: 178.8 kB / 1.025 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.902, allocations: 0.6926 MB / 1.026 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.467e-05/0.902, allocations: 16.42 kB / 1.026 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.9021, allocations: 11.38 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.9021, allocations: 4 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.002617/0.9047, allocations: 403.9 kB / 1.026 GB, free: 11.4 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches