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.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.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.000822/0.0008221, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005919/0.005919, allocations: 169.9 kB / 16.26 MB, free: 6.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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.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.852/2.852, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003605, allocations: 12.28 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7182/0.7186, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001381/0.72, allocations: 0.543 MB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001731/0.7202, allocations: 39.78 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.7203, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-05/0.7204, allocations: 7.922 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.7205, allocations: 3.938 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.927e-05/0.7205, allocations: 19.98 kB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.7207, allocations: 47.86 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.7209, allocations: 43.97 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.7209, allocations: 19.84 kB / 1.024 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.721, allocations: 23.86 kB / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.721, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-06/0.7211, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.7211, allocations: 15.88 kB / 1.024 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.816e-05/0.7211, allocations: 49.52 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.7213, allocations: 69.64 kB / 1.024 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7213, allocations: 8 kB / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7213, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.7213, allocations: 0 / 1.024 GB, free: 15 MB / 0.7794 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.0005162/0.7218, allocations: 363.2 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.7219, allocations: 12.03 kB / 1.024 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.7219, allocations: 8.844 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.7222, allocations: 192.2 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.7222, allocations: 12.31 kB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.7222, allocations: 4.375 kB / 1.024 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.7224, allocations: 91.95 kB / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7224, allocations: 192 / 1.025 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.7224, allocations: 7.938 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.7225, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.7225, allocations: 31.92 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006055/0.7232, allocations: 444.5 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.664e-05/0.7232, allocations: 41.25 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.185e-05/0.7233, allocations: 21.78 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.7233, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.7233, allocations: 34.56 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.7233, allocations: 0 / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001972/0.7235, allocations: 57.47 kB / 1.025 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.7236, allocations: 81.3 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.7238, allocations: 169.3 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.7238, allocations: 25.7 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.438e-05/0.7239, allocations: 99.98 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.425e-05/0.7239, allocations: 19.88 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.136e-05/0.7239, allocations: 9.719 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.724, allocations: 318.8 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.834e-05/0.7241, allocations: 3.984 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.7241, allocations: 25.66 kB / 1.026 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.7242, allocations: 25.72 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7242, allocations: 0 / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.657e-05/0.7243, allocations: 61.53 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.7243, allocations: 8 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.7243, allocations: 3.938 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.7243, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.479e-05/0.7244, allocations: 4 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.7244, allocations: 8.062 kB / 1.026 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.629e-05/0.7245, allocations: 7.906 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.7245, allocations: 4 kB / 1.026 GB, free: 12.58 MB / 0.7794 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.209e-05/0.7246, allocations: 109.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.7246, allocations: 11.89 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.7246, allocations: 19.89 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.7247, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.7247, allocations: 4 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.7247, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004211/0.7251, allocations: 470.8 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7251, allocations: 0 / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.7251, allocations: 8 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.7252, allocations: 3.938 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.7252, allocations: 3.984 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.7252, allocations: 3.938 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.7252, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.7253, allocations: 77.91 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.7254, allocations: 92.94 kB / 1.027 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.7254, allocations: 4 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.7254, allocations: 4 kB / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.662e-05/0.7254, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.7254, allocations: 0 / 1.027 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001025/0.7255, allocations: 123.3 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7256, allocations: 0 / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001937/0.7257, allocations: 8 kB / 1.027 GB, free: 11.54 MB / 0.7794 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.0001325/0.7259, allocations: 99.19 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.648e-05/0.726, allocations: 23.92 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.726, allocations: 0 / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.624e-05/0.726, allocations: 4.188 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.7262, allocations: 22.33 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.7266, allocations: 176.5 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.727, allocations: 0.7004 MB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.442e-05/0.727, allocations: 4.438 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.256e-05/0.727, allocations: 7.438 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.727, allocations: 4 kB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of Templates: time 0.002572/0.7296, allocations: 420.6 kB / 1.028 GB, free: 10.02 MB / 0.7794 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 -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/jenkins/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