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.00074/0.00074, allocations: 90.52 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.005072/0.005072, allocations: 171.1 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.289/1.289, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.534/2.534, allocations: 462.7 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003292/0.0003293, allocations: 9.438 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.0008778/0.257, allocations: 0.5453 MB / 1.059 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000107/0.2571, allocations: 39.78 kB / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.2571, allocations: 0 / 1.059 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.2572, allocations: 3.938 kB / 1.059 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.314e-05/0.2573, allocations: 11.92 kB / 1.059 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.005e-05/0.2573, allocations: 16 kB / 1.059 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.233e-05/0.2574, allocations: 55.84 kB / 1.059 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2575, allocations: 39.97 kB / 1.059 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.561e-05/0.2576, allocations: 19.86 kB / 1.059 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.011e-05/0.2576, allocations: 19.86 kB / 1.06 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.2576, allocations: 4 kB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.814e-06/0.2577, allocations: 0 / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.2577, allocations: 15.86 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.081e-05/0.2577, allocations: 53.45 kB / 1.06 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.255e-05/0.2578, allocations: 63.97 kB / 1.06 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2578, allocations: 4 kB / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2578, allocations: 0 / 1.06 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2578, allocations: 4 kB / 1.06 GB, free: 3.988 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.0003308/0.2582, allocations: 367.3 kB / 1.06 GB, free: 3.578 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2582, allocations: 11.97 kB / 1.06 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.402e-05/0.2583, allocations: 38.75 kB / 1.06 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.2583, allocations: 8.844 kB / 1.06 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.2585, allocations: 196.1 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.2585, allocations: 8.375 kB / 1.06 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.2585, allocations: 4.375 kB / 1.06 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.2587, allocations: 97.92 kB / 1.06 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2587, allocations: 3.938 kB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.2587, allocations: 8 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2587, allocations: 3.938 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.944e-05/0.2588, allocations: 35.92 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000493/0.2593, allocations: 440.5 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.297e-05/0.2593, allocations: 37.28 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.2594, allocations: 21.84 kB / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.045e-05/0.2594, allocations: 0 / 1.061 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.2594, allocations: 34.56 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2594, allocations: 0 / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001652/0.2596, allocations: 61.47 kB / 1.061 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2596, allocations: 77.11 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.2598, allocations: 168 kB / 1.061 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2598, allocations: 25.7 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.2599, allocations: 103.9 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.874e-06/0.2599, allocations: 4.25 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.2599, allocations: 17.72 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.26, allocations: 318.8 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.999e-05/0.26, allocations: 7.938 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.2601, allocations: 17.72 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.392e-05/0.2601, allocations: 21.72 kB / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2601, allocations: 0 / 1.062 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.421e-05/0.2602, allocations: 69.53 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2602, allocations: 7.938 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2602, allocations: 0 / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2603, allocations: 4 kB / 1.062 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.2603, allocations: 4 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.2603, allocations: 0 / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.246e-05/0.2604, allocations: 11.84 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.2604, allocations: 3.984 kB / 1.062 GB, free: 1.523 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 7.706e-05/0.2605, allocations: 117.9 kB / 1.062 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.325e-05/0.2605, allocations: 11.84 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.571e-05/0.2606, allocations: 11.88 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.2606, allocations: 0 / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.2606, allocations: 3.938 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2606, allocations: 4.078 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003468/0.2609, allocations: 470.8 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.2609, allocations: 8.047 kB / 1.062 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.358e-05/0.261, allocations: 11.94 kB / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.261, allocations: 0 / 1.062 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.261, allocations: 4 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.261, allocations: 0 / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.261, allocations: 7.938 kB / 1.062 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.65e-05/0.2611, allocations: 73.84 kB / 1.062 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.2611, allocations: 96.94 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.2612, allocations: 0 / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.2612, allocations: 4 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.2612, allocations: 4 kB / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.2612, allocations: 0 / 1.063 GB, free: 0.5977 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.197e-05/0.2613, allocations: 123.5 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2613, allocations: 3.938 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001861/0.2615, allocations: 8 kB / 1.063 GB, free: 480 kB / 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.0003424/0.2618, allocations: 0.6132 MB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.598e-05/0.2619, allocations: 23.92 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2619, allocations: 0 / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.262, allocations: 8.219 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001633/0.2621, allocations: 8 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.2633, allocations: 1.338 MB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.2635, allocations: 0.6965 MB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.144e-05/0.2635, allocations: 4.438 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.2636, allocations: 23.42 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2636, allocations: 0 / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009901/0.2735, allocations: 1.355 MB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.2737, allocations: 220 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.809, allocations: 1.625 kB / 1.067 GB, free: 12.12 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