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.008178/0.008178, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001117/0.001117, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.374/1.374, 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.581/2.581, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 68.11 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9005/0.9018, 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.002466/0.9044, allocations: 0.8383 MB / 1.208 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.9046, allocations: 43.78 kB / 1.208 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.9046, allocations: 0 / 1.208 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.754e-05/0.9047, allocations: 7.875 kB / 1.208 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.9048, allocations: 11.88 kB / 1.208 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.132e-05/0.9049, allocations: 23.97 kB / 1.208 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.905, allocations: 63.84 kB / 1.208 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.9052, allocations: 39.92 kB / 1.208 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.959e-05/0.9053, allocations: 23.92 kB / 1.208 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.9054, allocations: 31.8 kB / 1.208 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.681e-05/0.9054, allocations: 8 kB / 1.208 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.9054, allocations: 4 kB / 1.208 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.929e-05/0.9054, allocations: 27.84 kB / 1.208 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.791e-05/0.9055, allocations: 23.81 kB / 1.208 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.9057, allocations: 77.95 kB / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.9057, allocations: 0 / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9057, allocations: 0 / 1.208 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.9057, allocations: 0 / 1.208 GB, free: 12.34 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.0005498/0.9062, allocations: 379.2 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.912e-05/0.9063, allocations: 8.031 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.033e-05/0.9064, allocations: 42.73 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.9064, allocations: 8.844 kB / 1.209 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.9067, allocations: 204 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.9067, allocations: 4.375 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.813e-05/0.9067, allocations: 12.38 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.9069, allocations: 93.59 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9069, allocations: 7.938 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.9069, allocations: 4 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.907, allocations: 4 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.907, allocations: 31.98 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.9076, allocations: 436.5 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.091e-05/0.9077, allocations: 41.22 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.664e-05/0.9078, allocations: 17.78 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.9078, allocations: 3.984 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.9078, allocations: 38.59 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.9078, allocations: 0 / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001905/0.908, allocations: 57.67 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.9081, allocations: 77.11 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.9082, allocations: 160.5 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.9082, allocations: 25.7 kB / 1.21 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.9083, allocations: 112 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.9083, allocations: 3.906 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.9084, allocations: 17.72 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9085, allocations: 314.8 kB / 1.21 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.9085, allocations: 12.06 kB / 1.21 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.418e-05/0.9085, allocations: 21.7 kB / 1.21 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.206e-05/0.9086, allocations: 29.66 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9086, allocations: 0 / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.278e-05/0.9087, allocations: 53.61 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.9087, allocations: 7.938 kB / 1.211 GB, free: 9.883 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.9087, allocations: 8.047 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.9087, allocations: 4 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.565e-05/0.9088, allocations: 4 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.9088, allocations: 3.938 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.012e-05/0.9089, allocations: 11.84 kB / 1.211 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-06/0.9089, allocations: 0 / 1.211 GB, free: 9.852 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.825e-05/0.909, allocations: 113.8 kB / 1.211 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.909, allocations: 11.84 kB / 1.211 GB, free: 9.719 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.774e-05/0.909, allocations: 15.95 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.909, allocations: 3.984 kB / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.9091, allocations: 0 / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.9091, allocations: 0 / 1.211 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003702/0.9094, allocations: 482.7 kB / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.9094, allocations: 0 / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.9095, allocations: 4 kB / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.9095, allocations: 0 / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.9095, allocations: 8.062 kB / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9095, allocations: 0 / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9095, allocations: 0 / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.701e-05/0.9096, allocations: 85.77 kB / 1.211 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.9096, allocations: 88.95 kB / 1.211 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.9097, allocations: 3.984 kB / 1.211 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.9097, allocations: 4.031 kB / 1.211 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.9097, allocations: 4 kB / 1.211 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-06/0.9097, allocations: 0 / 1.211 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.314e-05/0.9098, allocations: 119.2 kB / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9098, allocations: 0 / 1.212 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000194/0.91, allocations: 15.91 kB / 1.212 GB, free: 8.793 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.000347/0.9104, allocations: 0.6131 MB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.829e-05/0.9105, allocations: 16 kB / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9105, allocations: 0 / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.365e-05/0.9105, allocations: 11.94 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.9107, allocations: 8 kB / 1.212 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001115/0.9118, allocations: 1.329 MB / 1.213 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.912, allocations: 0.6924 MB / 1.214 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.9121, allocations: 4.438 kB / 1.214 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.9121, allocations: 31.42 kB / 1.214 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.9121, allocations: 0 / 1.214 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01588/0.928, allocations: 1.598 MB / 1.216 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.332/8.26, allocations: 7.875 kB / 1.216 GB, free: 4.438 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