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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001094/0.001094, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 469.4 MB / 0.742 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 61.06 kB / 0.9083 GB, free: 34.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2493, allocations: 159.1 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002026/0.2513, allocations: 0.8274 MB / 1.064 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001257/0.2515, allocations: 39.8 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.2515, allocations: 0 / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/0.2516, allocations: 11.86 kB / 1.065 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.2517, allocations: 11.86 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.087e-05/0.2517, allocations: 19.98 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.2519, allocations: 59.84 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.252, allocations: 43.97 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.769e-05/0.2521, allocations: 27.86 kB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.61e-05/0.2521, allocations: 27.86 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.2521, allocations: 4 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.2522, allocations: 19.88 kB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.031e-05/0.2522, allocations: 15.92 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.068e-05/0.2522, allocations: 35.75 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.2524, allocations: 71.97 kB / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2524, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2524, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2524, allocations: 0 / 1.065 GB, free: 13.35 MB / 0.8262 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.0003829/0.2528, allocations: 371.3 kB / 1.065 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2528, allocations: 12.03 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.2529, allocations: 42.73 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.2529, allocations: 12.75 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.2531, allocations: 192.2 kB / 1.065 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.2531, allocations: 8.375 kB / 1.065 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.2531, allocations: 8.312 kB / 1.065 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.2533, allocations: 93.5 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.2533, allocations: 3.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2533, allocations: 4 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2533, allocations: 0 / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.15e-05/0.2534, allocations: 43.92 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.2539, allocations: 432.5 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.254e-05/0.254, allocations: 41.28 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.775e-05/0.254, allocations: 29.83 kB / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-06/0.254, allocations: 0 / 1.066 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.2541, allocations: 30.56 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.2541, allocations: 0 / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.2542, allocations: 57.48 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.2543, allocations: 81.36 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.2544, allocations: 164.6 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2544, allocations: 25.7 kB / 1.066 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.2545, allocations: 100 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.2545, allocations: 3.906 kB / 1.067 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.2545, allocations: 21.7 kB / 1.067 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.2546, allocations: 318.8 kB / 1.067 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.2547, allocations: 3.938 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.2547, allocations: 29.7 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.2547, allocations: 21.72 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2547, allocations: 0 / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.778e-05/0.2548, allocations: 61.53 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2549, allocations: 11.94 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2549, allocations: 0 / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2549, allocations: 8 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.853e-05/0.255, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.255, allocations: 4 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.255, allocations: 11.84 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.255, allocations: 4 kB / 1.067 GB, free: 10.87 MB / 0.8262 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.591e-05/0.2551, allocations: 109.8 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.642e-05/0.2551, allocations: 11.94 kB / 1.067 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.729e-05/0.2552, allocations: 19.84 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2552, allocations: 3.938 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2552, allocations: 8 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2552, allocations: 3.938 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.2556, allocations: 462.8 kB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2556, allocations: 0 / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.332e-05/0.2556, allocations: 11.94 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2556, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/0.2556, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2556, allocations: 4.062 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2556, allocations: 0 / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.855e-05/0.2557, allocations: 81.83 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.2558, allocations: 85 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.2558, allocations: 4 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.2558, allocations: 4 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.868e-06/0.2558, allocations: 4.031 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2558, allocations: 0 / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.371e-05/0.2559, allocations: 123.2 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2559, allocations: 0 / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002078/0.2561, allocations: 8 kB / 1.068 GB, free: 9.832 MB / 0.8262 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.0003359/0.2565, allocations: 0.6231 MB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.976e-05/0.2566, allocations: 15.94 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2566, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.2566, allocations: 4 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.2568, allocations: 8 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.2579, allocations: 1.325 MB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.2581, allocations: 0.697 MB / 1.071 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.2581, allocations: 8.422 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.2582, allocations: 23.44 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.2582, allocations: 0 / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01687/0.2751, allocations: 1.553 MB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.007/7.282, allocations: 9.875 kB / 1.072 GB, free: 5.508 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 & 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