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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,fileNamePrefix="Buildings_latest_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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001243/0.001243, allocations: 195 kB / 16.14 MB, free: 6.648 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.208/1.208, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.39/2.39, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 61.81 kB / 0.8985 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.228, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001873/0.2299, allocations: 0.8958 MB / 1.053 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 9.607e-05/0.23, allocations: 39.78 kB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.23, allocations: 4 kB / 1.053 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.2301, allocations: 7.922 kB / 1.053 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.2302, allocations: 3.938 kB / 1.053 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.873e-05/0.2302, allocations: 19.98 kB / 1.053 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.2303, allocations: 55.86 kB / 1.053 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.2304, allocations: 43.94 kB / 1.053 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.2305, allocations: 31.81 kB / 1.053 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.128e-05/0.2305, allocations: 27.84 kB / 1.053 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.2305, allocations: 4 kB / 1.053 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.427e-06/0.2306, allocations: 4 kB / 1.053 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.2306, allocations: 11.94 kB / 1.053 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.592e-05/0.2306, allocations: 39.73 kB / 1.053 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.158e-05/0.2307, allocations: 63.98 kB / 1.053 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2307, allocations: 0 / 1.053 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2307, allocations: 0 / 1.053 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2307, allocations: 0 / 1.053 GB, free: 7.012 MB / 0.8106 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.0003406/0.2311, allocations: 379.3 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2311, allocations: 8.031 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.362e-05/0.2311, allocations: 42.75 kB / 1.054 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.403e-05/0.2312, allocations: 8.844 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001698/0.2314, allocations: 196.1 kB / 1.054 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2314, allocations: 4.281 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2314, allocations: 16.31 kB / 1.054 GB, free: 6.273 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.2315, allocations: 91.95 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2315, allocations: 3.938 kB / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.2315, allocations: 0 / 1.054 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2316, allocations: 7.938 kB / 1.054 GB, free: 6.16 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.715e-05/0.2316, allocations: 35.98 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.2321, allocations: 440.4 kB / 1.055 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.2321, allocations: 45.34 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.998e-05/0.2322, allocations: 13.78 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.2322, allocations: 4 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2322, allocations: 34.56 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2322, allocations: 7.938 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.2324, allocations: 53.53 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.2324, allocations: 85.05 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2325, allocations: 165.6 kB / 1.055 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.177e-05/0.2326, allocations: 29.7 kB / 1.055 GB, free: 5.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.2326, allocations: 100 kB / 1.055 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.732e-06/0.2326, allocations: 3.906 kB / 1.055 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.2327, allocations: 21.97 kB / 1.055 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.2328, allocations: 318.8 kB / 1.055 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.2328, allocations: 4 kB / 1.055 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.223e-05/0.2328, allocations: 17.72 kB / 1.055 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.388e-05/0.2328, allocations: 25.72 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2329, allocations: 0 / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.676e-05/0.2329, allocations: 65.53 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.233, allocations: 7.938 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.233, allocations: 4 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.547e-06/0.233, allocations: 0 / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.344e-05/0.233, allocations: 4 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.233, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/0.2331, allocations: 11.94 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-06/0.2331, allocations: 0 / 1.056 GB, free: 4.531 MB / 0.8106 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 6.587e-05/0.2332, allocations: 121.8 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.2332, allocations: 19.83 kB / 1.056 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.136e-05/0.2332, allocations: 11.88 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2332, allocations: 3.938 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2332, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2332, allocations: 4 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003121/0.2336, allocations: 462.8 kB / 1.056 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2336, allocations: 4 kB / 1.056 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.881e-05/0.2336, allocations: 8.047 kB / 1.056 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2336, allocations: 4 kB / 1.056 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.2336, allocations: 4 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2336, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2336, allocations: 0 / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.109e-05/0.2337, allocations: 77.84 kB / 1.056 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.2338, allocations: 96.97 kB / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2338, allocations: 0 / 1.056 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.976e-05/0.2338, allocations: 3.938 kB / 1.056 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.2338, allocations: 4 kB / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.2338, allocations: 0 / 1.056 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.61e-05/0.2339, allocations: 123.2 kB / 1.056 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2339, allocations: 0 / 1.056 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001779/0.2341, allocations: 8 kB / 1.056 GB, free: 3.48 MB / 0.8106 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.0002842/0.2344, allocations: 0.6132 MB / 1.057 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.627e-05/0.2344, allocations: 23.92 kB / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2345, allocations: 0 / 1.057 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.889e-06/0.2345, allocations: 4.219 kB / 1.057 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001455/0.2346, allocations: 18.39 kB / 1.057 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009627/0.2356, allocations: 1.344 MB / 1.058 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.2358, allocations: 0.6926 MB / 1.059 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.084e-05/0.2358, allocations: 4.438 kB / 1.059 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.2359, allocations: 23.42 kB / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.2359, allocations: 0 / 1.059 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009865/0.2457, allocations: 1.429 MB / 1.061 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.246, allocations: 216.3 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.763, allocations: 4.062 kB / 1.061 GB, free: 15.03 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.fmu > 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