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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.00443/0.00443, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001133/0.001133, allocations: 206.3 kB / 16.68 MB, free: 5.973 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.727/2.727, allocations: 469.4 MB / 0.7421 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 63.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2584, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001897/0.2603, allocations: 0.8194 MB / 1.221 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001313/0.2605, allocations: 39.78 kB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.107e-05/0.2606, allocations: 8 kB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.837e-05/0.2606, allocations: 11.86 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.235e-05/0.2607, allocations: 7.938 kB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.561e-05/0.2608, allocations: 15.98 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.2609, allocations: 67.78 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.261, allocations: 55.78 kB / 1.221 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.287e-05/0.2611, allocations: 27.86 kB / 1.221 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.783e-05/0.2612, allocations: 27.84 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.2612, allocations: 4 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.2612, allocations: 8 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.2612, allocations: 15.94 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.783e-05/0.2613, allocations: 31.73 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000118/0.2614, allocations: 79.58 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2614, allocations: 4 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2614, allocations: 0 / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.2614, allocations: 0 / 1.221 GB, free: 13.45 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.0003942/0.2618, allocations: 379.1 kB / 1.221 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2619, allocations: 8.031 kB / 1.221 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.2619, allocations: 38.75 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.2619, allocations: 16.83 kB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.2621, allocations: 200.1 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-06/0.2621, allocations: 384 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.2622, allocations: 16.38 kB / 1.222 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.2623, allocations: 89.58 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2623, allocations: 3.938 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2623, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.2624, allocations: 4 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.2624, allocations: 43.91 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.2629, allocations: 432.7 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.263, allocations: 37.34 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.263, allocations: 17.78 kB / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-06/0.263, allocations: 0 / 1.222 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.2631, allocations: 38.56 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2631, allocations: 0 / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001564/0.2632, allocations: 57.52 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2633, allocations: 81.11 kB / 1.222 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.2634, allocations: 165 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2634, allocations: 25.7 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.2635, allocations: 108.1 kB / 1.223 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.896e-06/0.2635, allocations: 12.2 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.2636, allocations: 21.67 kB / 1.223 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.2637, allocations: 318.8 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.2637, allocations: 12 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.2637, allocations: 17.72 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.2638, allocations: 25.7 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.2638, allocations: 11.94 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.291e-05/0.2639, allocations: 57.59 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2639, allocations: 7.938 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2639, allocations: 0 / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2639, allocations: 4 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.264, allocations: 7.984 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.264, allocations: 0 / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.171e-05/0.264, allocations: 7.938 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.264, allocations: 0 / 1.223 GB, free: 10.96 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.195e-05/0.2641, allocations: 122.4 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.2641, allocations: 11.89 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.988e-05/0.2642, allocations: 7.875 kB / 1.223 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2642, allocations: 3.984 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2642, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2642, allocations: 96 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.2646, allocations: 482.7 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2646, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.097e-05/0.2646, allocations: 4 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2646, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2646, allocations: 4 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2646, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2646, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.168e-05/0.2647, allocations: 85.94 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.2648, allocations: 85.06 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.2648, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.303e-05/0.2648, allocations: 0 / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.2648, allocations: 11.92 kB / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.2648, allocations: 0 / 1.224 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.425e-05/0.2649, allocations: 119.2 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2649, allocations: 0 / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001937/0.2651, allocations: 12 kB / 1.224 GB, free: 9.914 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.0003244/0.2655, allocations: 0.6094 MB / 1.225 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.731e-05/0.2655, allocations: 23.88 kB / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.2656, allocations: 0 / 1.225 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.2656, allocations: 12.16 kB / 1.225 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001553/0.2657, allocations: 8 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.2669, allocations: 1.327 MB / 1.226 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.2672, allocations: 0.6962 MB / 1.227 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.759e-05/0.2673, allocations: 8.422 kB / 1.227 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.42e-05/0.2673, allocations: 27.42 kB / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.2673, allocations: 0 / 1.227 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.2836, allocations: 1.58 MB / 1.228 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.339, allocations: 6.547 kB / 1.228 GB, free: 5.574 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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