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.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.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.00791/0.00791, allocations: 104.1 kB / 15.74 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.001651/0.001651, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.633/2.633, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 68.12 kB / 1.054 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9848/0.9862, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002512/0.9888, allocations: 0.8228 MB / 1.208 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001626/0.989, allocations: 43.78 kB / 1.208 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.299e-05/0.9891, allocations: 4 kB / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.261e-05/0.9892, allocations: 7.875 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.9893, allocations: 7.922 kB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.056e-05/0.9893, allocations: 23.92 kB / 1.208 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.9895, allocations: 59.84 kB / 1.208 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.9896, allocations: 51.91 kB / 1.208 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.168e-05/0.9897, allocations: 23.92 kB / 1.208 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.899e-05/0.9898, allocations: 27.8 kB / 1.208 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.985e-05/0.9898, allocations: 4 kB / 1.208 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.9898, allocations: 8 kB / 1.208 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.455e-05/0.9899, allocations: 15.86 kB / 1.208 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.378e-05/0.9899, allocations: 39.73 kB / 1.208 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.9901, allocations: 81.95 kB / 1.208 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9901, allocations: 0 / 1.208 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9901, allocations: 0 / 1.208 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.998e-06/0.9901, allocations: 0 / 1.208 GB, free: 12.35 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.0005054/0.9906, allocations: 379.1 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.9907, allocations: 8.031 kB / 1.209 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.9907, allocations: 38.75 kB / 1.209 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.96e-05/0.9908, allocations: 12.78 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.991, allocations: 192.1 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.9911, allocations: 12.38 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.9911, allocations: 4.375 kB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.9913, allocations: 91.95 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.9913, allocations: 3.938 kB / 1.209 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.9913, allocations: 7.938 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.9913, allocations: 4 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.684e-05/0.9914, allocations: 31.98 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.992, allocations: 440.5 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/0.9921, allocations: 45.33 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.9921, allocations: 17.78 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.9922, allocations: 4 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.272e-05/0.9922, allocations: 42.5 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.9922, allocations: 0 / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000188/0.9924, allocations: 53.53 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.9925, allocations: 81.05 kB / 1.21 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.9926, allocations: 160.7 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.9926, allocations: 25.95 kB / 1.21 GB, free: 10.49 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.078e-05/0.9927, allocations: 104 kB / 1.21 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.168e-05/0.9927, allocations: 15.89 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.063e-05/0.9927, allocations: 9.719 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.798e-05/0.9928, allocations: 318.8 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-05/0.9929, allocations: 11.98 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.9929, allocations: 13.72 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.14e-05/0.9929, allocations: 29.72 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.993, allocations: 0 / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.599e-05/0.993, allocations: 61.53 kB / 1.211 GB, free: 9.902 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.9931, allocations: 7.938 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9931, allocations: 0 / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.9931, allocations: 0 / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.344e-05/0.9932, allocations: 11.94 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.9932, allocations: 3.938 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.361e-05/0.9932, allocations: 11.97 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.9932, allocations: 4 kB / 1.211 GB, free: 9.863 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 7.32e-05/0.9933, allocations: 117.8 kB / 1.211 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.9934, allocations: 15.83 kB / 1.211 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.9934, allocations: 7.875 kB / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.9934, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9934, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.9934, allocations: 0 / 1.211 GB, free: 9.711 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003643/0.9938, allocations: 474.8 kB / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9938, allocations: 0 / 1.211 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.9938, allocations: 4 kB / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.9938, allocations: 0 / 1.211 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.9938, allocations: 3.984 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.9938, allocations: 4 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.9939, allocations: 96 / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.324e-05/0.9939, allocations: 85.83 kB / 1.211 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.994, allocations: 96.94 kB / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.994, allocations: 0 / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.949e-05/0.994, allocations: 0 / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.096e-05/0.9941, allocations: 0 / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.9941, allocations: 4 kB / 1.211 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.334e-05/0.9942, allocations: 121.1 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9942, allocations: 0 / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001969/0.9944, allocations: 11.94 kB / 1.212 GB, free: 8.82 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.0003659/0.9947, allocations: 0.6132 MB / 1.212 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.84e-05/0.9948, allocations: 24.03 kB / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9949, allocations: 0 / 1.212 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.455e-05/0.9949, allocations: 11.98 kB / 1.212 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.995, allocations: 6.031 kB / 1.212 GB, free: 8.137 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.9963, allocations: 1.331 MB / 1.213 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.9966, allocations: 0.6963 MB / 1.214 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.484e-05/0.9966, allocations: 8.422 kB / 1.214 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.776e-05/0.9967, allocations: 23.44 kB / 1.214 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of SimCode: time 2.935e-06/0.9967, allocations: 0 / 1.214 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/1.013, allocations: 1.605 MB / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.518/8.531, allocations: 4.062 kB / 1.216 GB, free: 4.457 MB / 0.9356 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