Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001079/0.001079, allocations: 106.6 kB / 15.99 MB, free: 6.348 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.001089/0.001089, allocations: 189.2 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.395/2.395, allocations: 437 MB / 0.7107 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.06 kB / 0.8694 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2969, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00203/0.299, allocations: 0.8857 MB / 1.018 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001018/0.2991, allocations: 39.78 kB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.427e-05/0.2991, allocations: 4 kB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.404e-05/0.2992, allocations: 3.938 kB / 1.018 GB, free: 10.07 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.2993, allocations: 3.938 kB / 1.018 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.156e-05/0.2993, allocations: 15.98 kB / 1.018 GB, free: 10.05 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.176e-05/0.2994, allocations: 67.75 kB / 1.018 GB, free: 9.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.2996, allocations: 47.95 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.914e-05/0.2996, allocations: 31.8 kB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.2997, allocations: 23.86 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.79e-05/0.2997, allocations: 8 kB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.869e-06/0.2997, allocations: 4 kB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.2997, allocations: 23.92 kB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.2998, allocations: 27.75 kB / 1.019 GB, free: 9.816 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.934e-05/0.2999, allocations: 56.17 kB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2999, allocations: 0 / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.262e-06/0.2999, allocations: 0 / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2999, allocations: 0 / 1.019 GB, free: 9.762 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.0004263/0.3003, allocations: 379.2 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.3004, allocations: 12.92 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.3004, allocations: 8.844 kB / 1.019 GB, free: 9.32 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3006, allocations: 196.1 kB / 1.019 GB, free: 9.09 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.3006, allocations: 8.375 kB / 1.019 GB, free: 9.082 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.3007, allocations: 8.375 kB / 1.019 GB, free: 9.074 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.3008, allocations: 102.2 kB / 1.019 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3008, allocations: 192 / 1.019 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.3009, allocations: 7.938 kB / 1.019 GB, free: 8.957 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3009, allocations: 7.984 kB / 1.019 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.301, allocations: 35.92 kB / 1.019 GB, free: 8.914 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.3015, allocations: 444.5 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.3015, allocations: 37.34 kB / 1.02 GB, free: 8.371 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.3016, allocations: 25.77 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.844e-06/0.3016, allocations: 0 / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3016, allocations: 34.56 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3016, allocations: 0 / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.3018, allocations: 53.48 kB / 1.02 GB, free: 8.238 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.3019, allocations: 77.11 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.302, allocations: 168.9 kB / 1.02 GB, free: 7.969 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.302, allocations: 25.7 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.3021, allocations: 108 kB / 1.02 GB, free: 7.828 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.699e-06/0.3021, allocations: 7.906 kB / 1.02 GB, free: 7.82 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.172e-05/0.3022, allocations: 17.7 kB / 1.02 GB, free: 7.797 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.3023, allocations: 318.8 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.817e-05/0.3023, allocations: 8 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.167e-05/0.3023, allocations: 17.7 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.932e-05/0.3024, allocations: 29.72 kB / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3024, allocations: 0 / 1.021 GB, free: 7.41 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.807e-05/0.3025, allocations: 61.53 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3025, allocations: 4 kB / 1.021 GB, free: 7.34 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3025, allocations: 3.938 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.3025, allocations: 0 / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/0.3026, allocations: 8 kB / 1.021 GB, free: 7.328 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3026, allocations: 4.062 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.311e-05/0.3026, allocations: 15.84 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.3027, allocations: 0 / 1.021 GB, free: 7.309 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 7.52e-05/0.3027, allocations: 117.8 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.3028, allocations: 7.906 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.3028, allocations: 15.8 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.3028, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.3028, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3028, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.3032, allocations: 478.7 kB / 1.021 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.3032, allocations: 0 / 1.021 GB, free: 6.629 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.853e-05/0.3032, allocations: 4 kB / 1.021 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3032, allocations: 0 / 1.021 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.3033, allocations: 0 / 1.021 GB, free: 6.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3033, allocations: 4 kB / 1.021 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3033, allocations: 0 / 1.021 GB, free: 6.621 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.57e-05/0.3034, allocations: 81.89 kB / 1.021 GB, free: 6.52 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.7e-05/0.3034, allocations: 93 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.3034, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.145e-05/0.3035, allocations: 0 / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.3035, allocations: 7.938 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.3035, allocations: 4 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.119e-05/0.3036, allocations: 125.1 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3036, allocations: 0 / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001857/0.3038, allocations: 12 kB / 1.022 GB, free: 6.266 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.0001224/0.3039, allocations: 95.25 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.24e-05/0.304, allocations: 23.92 kB / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.304, allocations: 0 / 1.022 GB, free: 6.137 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.304, allocations: 7.938 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00015/0.3042, allocations: 14.42 kB / 1.022 GB, free: 6.117 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003044/0.3045, allocations: 204.5 kB / 1.022 GB, free: 5.879 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.3048, allocations: 0.6963 MB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.3048, allocations: 11.44 kB / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3048, allocations: 0 / 1.023 GB, free: 5.145 MB / 0.795 GB Notification: Performance of Templates: time 0.002149/0.3069, allocations: 0.8638 MB / 1.024 GB, free: 4.281 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches