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.007761/0.007761, allocations: 104.5 kB / 15.74 MB, free: 6.039 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.001675/0.001675, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.687/2.687, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 68.12 kB / 1.054 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9583/0.9598, allocations: 157.4 MB / 1.207 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002754/0.9626, allocations: 0.8291 MB / 1.208 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001854/0.9629, allocations: 43.78 kB / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.963, allocations: 0 / 1.208 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.127e-05/0.963, allocations: 11.88 kB / 1.208 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.9632, allocations: 15.86 kB / 1.208 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.713e-05/0.9632, allocations: 15.98 kB / 1.208 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000131/0.9634, allocations: 59.84 kB / 1.208 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001948/0.9636, allocations: 51.91 kB / 1.208 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.9637, allocations: 27.86 kB / 1.208 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.9637, allocations: 31.78 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.9638, allocations: 8 kB / 1.208 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.308e-05/0.9638, allocations: 8 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.9638, allocations: 7.938 kB / 1.208 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.706e-05/0.9639, allocations: 39.73 kB / 1.208 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.964, allocations: 73.95 kB / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.964, allocations: 0 / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.324e-06/0.964, allocations: 4 kB / 1.208 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.834e-06/0.964, allocations: 0 / 1.208 GB, free: 12.4 MB / 0.9356 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.0005418/0.9646, allocations: 379.1 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.9646, allocations: 12.03 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.417e-05/0.9647, allocations: 34.75 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.9648, allocations: 12.78 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.965, allocations: 192.2 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.965, allocations: 8.375 kB / 1.209 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.9651, allocations: 4.375 kB / 1.209 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.9653, allocations: 97.45 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.9653, allocations: 7.938 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.9653, allocations: 4 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.9653, allocations: 0 / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.9654, allocations: 35.92 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006809/0.9661, allocations: 448.5 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.9662, allocations: 37.16 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.9662, allocations: 21.84 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.9662, allocations: 96 / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.9663, allocations: 38.5 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9663, allocations: 0 / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0002105/0.9665, allocations: 61.47 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.9666, allocations: 77.11 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.9667, allocations: 160.7 kB / 1.21 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.9667, allocations: 25.7 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.986e-05/0.9668, allocations: 104 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.9668, allocations: 8.156 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.9669, allocations: 17.72 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.967, allocations: 322.8 kB / 1.21 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.967, allocations: 8 kB / 1.21 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.9671, allocations: 17.66 kB / 1.21 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.9671, allocations: 29.66 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.9671, allocations: 0 / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.733e-05/0.9672, allocations: 57.59 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.9673, allocations: 11.94 kB / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.9673, allocations: 0 / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.9673, allocations: 0 / 1.211 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.9674, allocations: 11.94 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.9674, allocations: 0 / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.804e-05/0.9674, allocations: 11.91 kB / 1.211 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9674, allocations: 4 kB / 1.211 GB, free: 9.914 MB / 0.9356 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 9.656e-05/0.9675, allocations: 117.9 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.965e-05/0.9676, allocations: 15.84 kB / 1.211 GB, free: 9.773 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.9676, allocations: 3.875 kB / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.9676, allocations: 0 / 1.211 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.9677, allocations: 4 kB / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.9677, allocations: 96 / 1.211 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003976/0.9681, allocations: 470.8 kB / 1.211 GB, free: 9.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.9681, allocations: 8.047 kB / 1.211 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.9681, allocations: 7.984 kB / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9681, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.9681, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.9681, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9681, allocations: 0 / 1.211 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.154e-05/0.9682, allocations: 85.72 kB / 1.211 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.56e-05/0.9683, allocations: 96.97 kB / 1.211 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.9683, allocations: 4 kB / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.042e-05/0.9683, allocations: 0 / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.9684, allocations: 0 / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.9684, allocations: 0 / 1.211 GB, free: 9 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.287e-05/0.9685, allocations: 121.1 kB / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9685, allocations: 0 / 1.212 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001983/0.9687, allocations: 11.91 kB / 1.212 GB, free: 8.871 MB / 0.9356 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.0004017/0.9691, allocations: 0.6209 MB / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.141e-05/0.9692, allocations: 15.98 kB / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.9692, allocations: 0 / 1.212 GB, free: 8.203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-05/0.9692, allocations: 16.09 kB / 1.212 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.9694, allocations: 10.25 kB / 1.212 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.9706, allocations: 1.327 MB / 1.213 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.9709, allocations: 0.6885 MB / 1.214 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.9709, allocations: 16.42 kB / 1.214 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.971, allocations: 19.44 kB / 1.214 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of SimCode: time 5.61e-07/0.971, allocations: 4 kB / 1.214 GB, free: 6 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02018/0.9912, allocations: 1.593 MB / 1.216 GB, free: 4.516 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.26/8.251, allocations: 7.922 kB / 1.216 GB, free: 4.508 MB / 0.9356 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