Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006928/0.006928, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.001828/0.001828, allocations: 195.6 kB / 16.68 MB, free: 5.969 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.377/1.377, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.691/2.691, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 72.09 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2697/0.2715, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001761/0.2733, allocations: 0.835 MB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000101/0.2734, allocations: 39.84 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.2734, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.2735, allocations: 7.875 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.849e-05/0.2735, allocations: 11.88 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.133e-05/0.2736, allocations: 19.97 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.571e-05/0.2737, allocations: 59.84 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.2738, allocations: 51.84 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.2739, allocations: 31.8 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.2739, allocations: 27.86 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.2739, allocations: 4 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.525e-05/0.274, allocations: 8 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.274, allocations: 15.92 kB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.274, allocations: 35.75 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.2741, allocations: 79.56 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2741, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2742, allocations: 7.938 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.2742, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 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.0003819/0.2745, allocations: 371.2 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2746, allocations: 12.03 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.577e-05/0.2746, allocations: 38.73 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.2747, allocations: 16.84 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.2748, allocations: 200.1 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2749, allocations: 4.375 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2749, allocations: 8.375 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001429/0.275, allocations: 98.19 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.275, allocations: 3.938 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.2751, allocations: 4 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.2751, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.37e-05/0.2751, allocations: 39.92 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004655/0.2756, allocations: 432.8 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.181e-05/0.2757, allocations: 37.19 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.672e-05/0.2757, allocations: 25.83 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.2757, allocations: 4 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.2758, allocations: 30.56 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2758, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001415/0.2759, allocations: 61.53 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.276, allocations: 77.11 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.2761, allocations: 159.9 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.2761, allocations: 29.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.2762, allocations: 108.1 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.332e-06/0.2762, allocations: 3.953 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.2763, allocations: 25.66 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.2764, allocations: 322.8 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.447e-05/0.2764, allocations: 4 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.777e-05/0.2764, allocations: 29.62 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.39e-05/0.2765, allocations: 25.72 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2765, allocations: 0 / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.292e-05/0.2766, allocations: 65.58 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.2766, allocations: 7.938 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.2766, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.836e-06/0.2766, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.848e-05/0.2767, allocations: 8 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.2767, allocations: 64 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.655e-05/0.2767, allocations: 7.938 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.2767, allocations: 4 kB / 1.224 GB, free: 10.57 MB / 0.9825 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.532e-05/0.2768, allocations: 117.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.075e-05/0.2768, allocations: 11.89 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.89e-05/0.2769, allocations: 11.86 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.2769, allocations: 4 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2769, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2769, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.2773, allocations: 474.7 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2773, allocations: 0 / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.021e-05/0.2773, allocations: 4 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2773, allocations: 3.938 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.2773, allocations: 4 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2773, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2773, allocations: 4 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.2774, allocations: 85.94 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.03e-05/0.2775, allocations: 85.05 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.2775, allocations: 4 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.2775, allocations: 0 / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-06/0.2775, allocations: 0 / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.2775, allocations: 4 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.959e-05/0.2776, allocations: 125.5 kB / 1.224 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2776, allocations: 4 kB / 1.224 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001695/0.2778, allocations: 4 kB / 1.224 GB, free: 9.535 MB / 0.9825 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.0003605/0.2782, allocations: 0.6199 MB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.009e-05/0.2782, allocations: 27.91 kB / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2782, allocations: 0 / 1.225 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.093e-05/0.2783, allocations: 4 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.2784, allocations: 7.984 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2795, allocations: 1.33 MB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2798, allocations: 0.6929 MB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.2798, allocations: 8.422 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.753e-05/0.2798, allocations: 23.44 kB / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.2799, allocations: 0 / 1.227 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7771/1.057, allocations: 1.577 MB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.337/10.39, allocations: 14.86 kB / 1.229 GB, free: 5.176 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches