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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001561/0.001561, allocations: 106 kB / 15.99 MB, free: 6.352 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.001595/0.001595, allocations: 193 kB / 16.91 MB, free: 6.184 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.451/1.451, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 482.4 MB / 0.755 GB, free: 7.164 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.98 kB / 0.924 GB, free: 360 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8055/0.8075, allocations: 162.2 MB / 1.082 GB, free: 1.637 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002115/0.8096, allocations: 0.8708 MB / 1.083 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001037/0.8098, allocations: 41.19 kB / 1.083 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.8098, allocations: 2.5 kB / 1.083 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.323e-05/0.8099, allocations: 5.297 kB / 1.083 GB, free: 1.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.582e-05/0.81, allocations: 5.062 kB / 1.083 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.777e-05/0.81, allocations: 17.89 kB / 1.083 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.8101, allocations: 62.72 kB / 1.083 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.8103, allocations: 41.61 kB / 1.083 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.8104, allocations: 29.78 kB / 1.083 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.8104, allocations: 27.16 kB / 1.083 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.383e-05/0.8105, allocations: 9.656 kB / 1.084 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.33e-05/0.8105, allocations: 5.875 kB / 1.084 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.8105, allocations: 15.59 kB / 1.084 GB, free: 0.9141 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.8105, allocations: 33.8 kB / 1.084 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.8107, allocations: 52.84 kB / 1.084 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8107, allocations: 3.938 kB / 1.084 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8107, allocations: 1.031 kB / 1.084 GB, free: 0.8711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.8107, allocations: 0 / 1.084 GB, free: 0.8711 MB / 0.8262 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.0003918/0.8111, allocations: 380.7 kB / 1.084 GB, free: 492 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8111, allocations: 13.06 kB / 1.084 GB, free: 488 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.8112, allocations: 22.31 kB / 1.084 GB, free: 472 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.8113, allocations: 192.3 kB / 1.084 GB, free: 256 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.8114, allocations: 3.938 kB / 1.084 GB, free: 256 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.8114, allocations: 9.531 kB / 1.084 GB, free: 252 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.8115, allocations: 90.08 kB / 1.084 GB, free: 184 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8116, allocations: 0.9375 kB / 1.084 GB, free: 184 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.8116, allocations: 9.219 kB / 1.084 GB, free: 176 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8116, allocations: 9.531 kB / 1.084 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.8117, allocations: 36.28 kB / 1.084 GB, free: 156 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005677/0.8122, allocations: 433.7 kB / 1.085 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.8123, allocations: 47.38 kB / 1.085 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.8124, allocations: 15.92 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.8124, allocations: 0.75 kB / 1.085 GB, free: 15.68 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.8124, allocations: 36.41 kB / 1.085 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.8124, allocations: 3.938 kB / 1.085 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001991/0.8126, allocations: 56.92 kB / 1.085 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.8127, allocations: 82.66 kB / 1.085 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.8129, allocations: 153.2 kB / 1.085 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.8129, allocations: 29.7 kB / 1.085 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.81e-05/0.813, allocations: 104.4 kB / 1.085 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.813, allocations: 7.312 kB / 1.085 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.8131, allocations: 17.94 kB / 1.085 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.8132, allocations: 319.5 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.8133, allocations: 8.328 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.8133, allocations: 20.23 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.28e-05/0.8133, allocations: 23.59 kB / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.8133, allocations: 0 / 1.086 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.8135, allocations: 65.5 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.8135, allocations: 6.547 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.8135, allocations: 8 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8135, allocations: 0.625 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.246e-05/0.8136, allocations: 6.391 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.8136, allocations: 6.125 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.081e-05/0.8136, allocations: 6.344 kB / 1.086 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.8136, allocations: 1.094 kB / 1.086 GB, free: 14.79 MB / 0.8419 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 9.451e-05/0.8137, allocations: 119.1 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.8138, allocations: 9.734 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.8138, allocations: 15.31 kB / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.8138, allocations: 5.609 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.8138, allocations: 0.875 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.8139, allocations: 4.969 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004551/0.8143, allocations: 466.1 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8143, allocations: 1.25 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.8144, allocations: 3.344 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.8144, allocations: 1.594 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.8144, allocations: 4.062 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8144, allocations: 1.094 kB / 1.086 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.8144, allocations: 5.594 kB / 1.086 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.8145, allocations: 80.58 kB / 1.086 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.325e-05/0.8146, allocations: 94.97 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.8146, allocations: 1.219 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.163e-05/0.8146, allocations: 4.688 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.2e-05/0.8146, allocations: 1.812 kB / 1.087 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.8146, allocations: 5.219 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001117/0.8148, allocations: 120.8 kB / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8148, allocations: 0 / 1.087 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001884/0.815, allocations: 10.66 kB / 1.087 GB, free: 13.86 MB / 0.8419 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.000112/0.8151, allocations: 97.56 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.717e-05/0.8152, allocations: 24.66 kB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8152, allocations: 0 / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.15e-05/0.8152, allocations: 5.484 kB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.8154, allocations: 10.69 kB / 1.087 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003764/0.8158, allocations: 211.8 kB / 1.087 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.8161, allocations: 0.6967 MB / 1.088 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.8161, allocations: 11.44 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.8161, allocations: 0 / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of Templates: time 0.002731/0.8189, allocations: 0.8636 MB / 1.089 GB, free: 12.77 MB / 0.8419 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=400 -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches