Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001294/0.001294, allocations: 109.3 kB / 16.41 MB, free: 6.445 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.001315/0.001315, allocations: 183 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.89 kB / 0.9515 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8897/0.8911, allocations: 140.4 MB / 1.089 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001967/0.8931, allocations: 0.8247 MB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.8932, allocations: 39.83 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.503e-05/0.8933, allocations: 2.156 kB / 1.089 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.8933, allocations: 9.562 kB / 1.089 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.348e-05/0.8934, allocations: 10.23 kB / 1.089 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.501e-05/0.8934, allocations: 20.19 kB / 1.09 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.8936, allocations: 59.72 kB / 1.09 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.8937, allocations: 45.02 kB / 1.09 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.064e-05/0.8938, allocations: 21.77 kB / 1.09 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.17e-05/0.8938, allocations: 34.73 kB / 1.09 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.8939, allocations: 5.75 kB / 1.09 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.8939, allocations: 10.53 kB / 1.09 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.918e-05/0.8939, allocations: 8.422 kB / 1.09 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.8939, allocations: 40.73 kB / 1.09 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.8941, allocations: 76.73 kB / 1.09 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8941, allocations: 1.625 kB / 1.09 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8941, allocations: 0 / 1.09 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.8941, allocations: 0 / 1.09 GB, free: 4.996 MB / 0.8575 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.0003698/0.8945, allocations: 374.9 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8945, allocations: 9.766 kB / 1.09 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.8946, allocations: 12.66 kB / 1.09 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.8947, allocations: 193.4 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.8948, allocations: 12.22 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.8948, allocations: 5.125 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.8949, allocations: 90.05 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.8949, allocations: 4.125 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.895, allocations: 5.719 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.895, allocations: 2.406 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.488e-05/0.8951, allocations: 35.59 kB / 1.091 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.8955, allocations: 442.6 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.8956, allocations: 45.86 kB / 1.091 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.8956, allocations: 19.55 kB / 1.091 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.8956, allocations: 5.609 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.8957, allocations: 40.16 kB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.8957, allocations: 3.938 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.8958, allocations: 52.8 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.8959, allocations: 82.11 kB / 1.091 GB, free: 3.617 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.896, allocations: 158.6 kB / 1.091 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-06/0.896, allocations: 26.77 kB / 1.091 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.8961, allocations: 107.7 kB / 1.091 GB, free: 3.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.707e-06/0.8961, allocations: 9.547 kB / 1.091 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.8961, allocations: 14.97 kB / 1.091 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.8962, allocations: 318.6 kB / 1.092 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.8962, allocations: 8.203 kB / 1.092 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.234e-05/0.8962, allocations: 17.28 kB / 1.092 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.987e-05/0.8963, allocations: 30.19 kB / 1.092 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8963, allocations: 5.062 kB / 1.092 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.972e-05/0.8964, allocations: 57.3 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8964, allocations: 5.094 kB / 1.092 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8964, allocations: 5.281 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8964, allocations: 0.7812 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.8965, allocations: 6.531 kB / 1.092 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8965, allocations: 5.375 kB / 1.092 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.8965, allocations: 5.781 kB / 1.092 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.8966, allocations: 5.5 kB / 1.092 GB, free: 2.918 MB / 0.8575 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.341e-05/0.8966, allocations: 115 kB / 1.092 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.8967, allocations: 9.328 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.81e-05/0.8967, allocations: 15.08 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.8967, allocations: 1.438 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.8967, allocations: 0.8438 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.8967, allocations: 1.062 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.897, allocations: 475.2 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.897, allocations: 0 / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.8971, allocations: 3.781 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.8971, allocations: 1.125 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.8971, allocations: 1.125 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.8971, allocations: 1.625 kB / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8971, allocations: 0 / 1.093 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.441e-05/0.8972, allocations: 85.05 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.8972, allocations: 97.89 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.8972, allocations: 1.609 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.101e-05/0.8972, allocations: 1.719 kB / 1.093 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.8973, allocations: 5.344 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.8973, allocations: 2.094 kB / 1.093 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.8973, allocations: 121.8 kB / 1.093 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8974, allocations: 4.031 kB / 1.093 GB, free: 2 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001912/0.8976, allocations: 6.812 kB / 1.093 GB, free: 2 MB / 0.8575 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 0.0001007/0.8977, allocations: 97.52 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.8978, allocations: 20.36 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8978, allocations: 0 / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.8978, allocations: 9.594 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.898, allocations: 16.77 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.8983, allocations: 194.5 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.8984, allocations: 0.6913 MB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.735e-05/0.8985, allocations: 11.91 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.8985, allocations: 0 / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of Templates: time 0.002649/0.9011, allocations: 0.8808 MB / 1.095 GB, free: 0.9102 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches