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.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 105 kB / 16.41 MB, free: 6.465 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.001774/0.001774, allocations: 187 kB / 17.34 MB, free: 5.719 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.65/2.65, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 64.14 kB / 1.055 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8123/0.8136, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002043/0.8157, allocations: 0.8231 MB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.8159, allocations: 35.8 kB / 1.209 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.8159, allocations: 4 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.816, allocations: 3.938 kB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.8161, allocations: 19.78 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.804e-05/0.8162, allocations: 19.98 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.8163, allocations: 63.78 kB / 1.209 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.8164, allocations: 43.92 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.8165, allocations: 27.86 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.869e-05/0.8166, allocations: 23.86 kB / 1.209 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.8166, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.629e-06/0.8166, allocations: 8 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.103e-05/0.8166, allocations: 19.92 kB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.034e-05/0.8167, allocations: 35.8 kB / 1.21 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.8168, allocations: 71.64 kB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.8168, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.733e-06/0.8168, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.8168, allocations: 0 / 1.21 GB, free: 12.44 MB / 0.9356 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.0004278/0.8173, allocations: 388.8 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.8173, allocations: 8.031 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.8174, allocations: 16.78 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.8176, allocations: 192.2 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.8176, allocations: 4.375 kB / 1.21 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.8176, allocations: 8.375 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.8178, allocations: 87.95 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.8178, allocations: 4.172 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.8178, allocations: 11.92 kB / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.8178, allocations: 0 / 1.21 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.8179, allocations: 43.92 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.8184, allocations: 432.6 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.624e-05/0.8185, allocations: 45.19 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.8186, allocations: 21.84 kB / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.8186, allocations: 0 / 1.211 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.8186, allocations: 38.55 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.8186, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/0.8188, allocations: 53.48 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.8189, allocations: 81.11 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.819, allocations: 164.9 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.8191, allocations: 25.7 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.8191, allocations: 104 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-06/0.8191, allocations: 3.906 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.8192, allocations: 17.72 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8193, allocations: 322.8 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.8193, allocations: 7.938 kB / 1.212 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/0.8194, allocations: 29.64 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/0.8194, allocations: 25.72 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8194, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001166/0.8195, allocations: 57.55 kB / 1.212 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.8196, allocations: 10.19 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.8196, allocations: 3.938 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8196, allocations: 0 / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.171e-05/0.8197, allocations: 7.984 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.8197, allocations: 12 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.277e-05/0.8197, allocations: 3.906 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.8197, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 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 8.397e-05/0.8198, allocations: 113.8 kB / 1.212 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.8199, allocations: 7.906 kB / 1.212 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.8199, allocations: 19.8 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.8199, allocations: 0 / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8199, allocations: 4 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.8199, allocations: 0 / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.8203, allocations: 470.8 kB / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.8204, allocations: 0 / 1.212 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.8204, allocations: 4 kB / 1.212 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.8204, allocations: 3.938 kB / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-06/0.8204, allocations: 0 / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.8204, allocations: 0 / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8204, allocations: 0 / 1.212 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.578e-05/0.8205, allocations: 85.89 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/0.8206, allocations: 88.95 kB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.8206, allocations: 7.984 kB / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.055e-05/0.8206, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.8206, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.8206, allocations: 0 / 1.213 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.023e-05/0.8207, allocations: 129.1 kB / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8207, allocations: 0 / 1.213 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002003/0.8209, allocations: 11.91 kB / 1.213 GB, free: 8.957 MB / 0.9356 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.0001141/0.8211, allocations: 99.19 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.166e-05/0.8212, allocations: 16 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8212, allocations: 0 / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.185e-05/0.8212, allocations: 7.938 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.8213, allocations: 20.17 kB / 1.213 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.8217, allocations: 184.5 kB / 1.213 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.822, allocations: 0.6924 MB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.822, allocations: 15.38 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of SimCode: time 3.8e-07/0.822, allocations: 0 / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of Templates: time 0.00237/0.8244, allocations: 0.8716 MB / 1.214 GB, free: 6.98 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches