Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001377/0.001377, allocations: 113.4 kB / 16.37 MB, free: 6.012 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.001384/0.001384, allocations: 192.2 kB / 17.31 MB, free: 5.613 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.523/2.523, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 68.72 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3084, allocations: 151.6 MB / 1.019 GB, free: 9.914 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00272/0.3111, allocations: 0.8348 MB / 1.02 GB, free: 9.074 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001452/0.3113, allocations: 43.78 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.129e-05/0.3114, allocations: 0 / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.97e-05/0.3114, allocations: 11.88 kB / 1.02 GB, free: 9.02 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.718e-05/0.3116, allocations: 7.875 kB / 1.02 GB, free: 9.012 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.715e-05/0.3116, allocations: 15.98 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001029/0.3117, allocations: 67.73 kB / 1.02 GB, free: 8.93 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.3119, allocations: 47.95 kB / 1.02 GB, free: 8.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.3119, allocations: 27.86 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.312, allocations: 35.73 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.058e-05/0.312, allocations: 4 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.312, allocations: 8 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.009e-05/0.3121, allocations: 19.92 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.3121, allocations: 27.81 kB / 1.02 GB, free: 8.762 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.3122, allocations: 75.69 kB / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.3123, allocations: 0 / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3123, allocations: 0 / 1.02 GB, free: 8.688 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.3123, allocations: 7.938 kB / 1.02 GB, free: 8.68 MB / 0.795 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.0004742/0.3128, allocations: 367.2 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.3128, allocations: 16.86 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.3129, allocations: 8.844 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3131, allocations: 196.1 kB / 1.021 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.3131, allocations: 8.375 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.3132, allocations: 8.375 kB / 1.021 GB, free: 8 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3133, allocations: 95.8 kB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3133, allocations: 192 / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3134, allocations: 7.938 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.3134, allocations: 4 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.363e-05/0.3135, allocations: 35.97 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006092/0.3141, allocations: 448.5 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.925e-05/0.3142, allocations: 33.22 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.817e-05/0.3142, allocations: 17.78 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.3142, allocations: 8.031 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3143, allocations: 38.5 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3143, allocations: 0 / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002146/0.3145, allocations: 57.47 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3146, allocations: 77.11 kB / 1.021 GB, free: 7.07 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3147, allocations: 158.5 kB / 1.021 GB, free: 6.906 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3147, allocations: 29.7 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.3148, allocations: 104 kB / 1.022 GB, free: 6.766 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.3148, allocations: 11.89 kB / 1.022 GB, free: 6.754 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3149, allocations: 13.72 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.315, allocations: 318.8 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.315, allocations: 8 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.259e-05/0.3151, allocations: 17.72 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.257e-05/0.3151, allocations: 29.66 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3151, allocations: 0 / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.467e-05/0.3152, allocations: 61.59 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.3152, allocations: 4 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3153, allocations: 3.938 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.3153, allocations: 0 / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.3153, allocations: 11.94 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3154, allocations: 64 / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.3154, allocations: 15.84 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.3154, allocations: 0 / 1.022 GB, free: 6.246 MB / 0.795 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.197e-05/0.3155, allocations: 118.5 kB / 1.022 GB, free: 6.121 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.3155, allocations: 7.906 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.881e-05/0.3156, allocations: 15.75 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3156, allocations: 0 / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3156, allocations: 0 / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3156, allocations: 0 / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.316, allocations: 478.8 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.316, allocations: 0 / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.238e-05/0.316, allocations: 7.984 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.316, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.316, allocations: 0 / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.316, allocations: 4 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3161, allocations: 0 / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.732e-05/0.3161, allocations: 89.78 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.3162, allocations: 89 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.3162, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.914e-05/0.3162, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.097e-05/0.3163, allocations: 0 / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.3163, allocations: 4 kB / 1.023 GB, free: 5.336 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.008e-05/0.3164, allocations: 121.7 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3164, allocations: 4.031 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001846/0.3166, allocations: 8 kB / 1.023 GB, free: 5.207 MB / 0.795 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.0001118/0.3167, allocations: 100.9 kB / 1.023 GB, free: 5.098 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.764e-05/0.3168, allocations: 23.92 kB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3168, allocations: 0 / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.3168, allocations: 4 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.317, allocations: 11 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003271/0.3173, allocations: 166.8 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.3176, allocations: 0.6962 MB / 1.024 GB, free: 4.141 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.3176, allocations: 8.422 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.3176, allocations: 11.44 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.3176, allocations: 4 kB / 1.024 GB, free: 4.117 MB / 0.795 GB Notification: Performance of Templates: time 0.002629/0.3203, allocations: 450.1 kB / 1.024 GB, free: 3.68 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches