Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_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.001196/0.001196, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001165/0.001165, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.36/2.36, allocations: 461.8 MB / 0.7342 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 65.03 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2221, allocations: 157.4 MB / 1.052 GB, free: 8.199 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001816/0.224, allocations: 0.8934 MB / 1.053 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 8.691e-05/0.2241, allocations: 43.78 kB / 1.053 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.455e-05/0.2241, allocations: 0 / 1.053 GB, free: 7.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.34e-05/0.2242, allocations: 3.938 kB / 1.053 GB, free: 7.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.258e-05/0.2242, allocations: 7.938 kB / 1.053 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 3.688e-05/0.2243, allocations: 15.98 kB / 1.053 GB, free: 7.234 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.2244, allocations: 51.86 kB / 1.053 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2245, allocations: 51.95 kB / 1.053 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.615e-05/0.2245, allocations: 19.88 kB / 1.053 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.961e-05/0.2246, allocations: 35.72 kB / 1.053 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.2246, allocations: 4 kB / 1.053 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.277e-06/0.2246, allocations: 4 kB / 1.053 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.507e-05/0.2246, allocations: 11.98 kB / 1.053 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.52e-05/0.2247, allocations: 35.73 kB / 1.053 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.836e-05/0.2247, allocations: 60 kB / 1.053 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2248, allocations: 0 / 1.053 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2248, allocations: 4 kB / 1.053 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.905e-06/0.2248, allocations: 0 / 1.053 GB, free: 6.961 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.0003335/0.2251, allocations: 379.3 kB / 1.054 GB, free: 6.539 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.2252, allocations: 15.97 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.876e-05/0.2252, allocations: 38.69 kB / 1.054 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.347e-05/0.2252, allocations: 8.844 kB / 1.054 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.2254, allocations: 200.1 kB / 1.054 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.2254, allocations: 8.281 kB / 1.054 GB, free: 6.227 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.2254, allocations: 12.38 kB / 1.054 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.2255, allocations: 89.98 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.2256, allocations: 7.938 kB / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2256, allocations: 0 / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.2256, allocations: 0 / 1.054 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.2257, allocations: 43.91 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/0.2261, allocations: 436.5 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.405e-05/0.2261, allocations: 41.28 kB / 1.055 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.2262, allocations: 17.84 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.2262, allocations: 0 / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.2262, allocations: 38.56 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2262, allocations: 0 / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001396/0.2264, allocations: 61.47 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.365e-05/0.2264, allocations: 77.11 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.2265, allocations: 167.2 kB / 1.055 GB, free: 5.125 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.2266, allocations: 29.64 kB / 1.055 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.2266, allocations: 108.2 kB / 1.055 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.2266, allocations: 3.906 kB / 1.055 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.2267, allocations: 17.72 kB / 1.055 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.705e-05/0.2268, allocations: 322.8 kB / 1.055 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.479e-05/0.2268, allocations: 4 kB / 1.055 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.976e-05/0.2268, allocations: 17.72 kB / 1.055 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.2268, allocations: 25.72 kB / 1.055 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2268, allocations: 0 / 1.055 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.352e-05/0.2269, allocations: 61.53 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.2269, allocations: 11.94 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.2269, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.227, allocations: 0 / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.127e-05/0.227, allocations: 11.94 kB / 1.056 GB, free: 4.48 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.227, allocations: 3.984 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.2271, allocations: 7.844 kB / 1.056 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.2271, allocations: 12.06 kB / 1.056 GB, free: 4.457 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.523e-05/0.2271, allocations: 113.8 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.046e-05/0.2272, allocations: 15.78 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.739e-05/0.2272, allocations: 7.875 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2272, allocations: 0 / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2272, allocations: 4 kB / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.2272, allocations: 0 / 1.056 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003147/0.2275, allocations: 482.7 kB / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.2275, allocations: 0 / 1.056 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.831e-05/0.2276, allocations: 4 kB / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.2276, allocations: 0 / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.2276, allocations: 0 / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.2276, allocations: 0 / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2276, allocations: 0 / 1.056 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.067e-05/0.2277, allocations: 85.89 kB / 1.056 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.772e-05/0.2277, allocations: 81.02 kB / 1.056 GB, free: 3.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.2277, allocations: 8 kB / 1.056 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.934e-05/0.2278, allocations: 0 / 1.056 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.263e-05/0.2278, allocations: 3.938 kB / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.2278, allocations: 0 / 1.056 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.577e-05/0.2279, allocations: 122.1 kB / 1.056 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2279, allocations: 0 / 1.056 GB, free: 3.438 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001762/0.228, allocations: 12.03 kB / 1.056 GB, free: 3.426 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.0002872/0.2283, allocations: 0.6132 MB / 1.057 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 6.124e-05/0.2284, allocations: 23.86 kB / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2284, allocations: 4.156 kB / 1.057 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.105e-06/0.2284, allocations: 4 kB / 1.057 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001402/0.2286, allocations: 9.719 kB / 1.057 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/0.2295, allocations: 1.344 MB / 1.058 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/0.2297, allocations: 0.6965 MB / 1.059 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.897e-05/0.2298, allocations: 4.438 kB / 1.059 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.2298, allocations: 27.42 kB / 1.059 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.2298, allocations: 4 kB / 1.059 GB, free: 0.543 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.2529, allocations: 1.411 MB / 1.061 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002044/0.2531, allocations: 225.7 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.405/1.658, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches