Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,fileNamePrefix="Buildings_11_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.001609/0.001609, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001689/0.001689, allocations: 190.9 kB / 16.25 MB, free: 6.637 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.276/1.276, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7421 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 62.34 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2439, allocations: 159.2 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001943/0.2459, allocations: 0.892 MB / 1.064 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.78e-05/0.246, allocations: 39.78 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.2461, allocations: 4 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.2461, allocations: 3.938 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.792e-05/0.2462, allocations: 3.938 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.829e-05/0.2462, allocations: 19.98 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.985e-05/0.2463, allocations: 55.86 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2464, allocations: 51.94 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.344e-05/0.2465, allocations: 23.88 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.083e-05/0.2466, allocations: 31.78 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/0.2466, allocations: 8 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.2466, allocations: 4 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.732e-05/0.2466, allocations: 15.94 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.2467, allocations: 39.73 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.348e-05/0.2468, allocations: 71.98 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.796e-06/0.2468, allocations: 0 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2468, allocations: 0 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.2468, allocations: 0 / 1.065 GB, free: 13.25 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.0004007/0.2472, allocations: 371.3 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2472, allocations: 8.031 kB / 1.065 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.2473, allocations: 42.73 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.419e-05/0.2473, allocations: 20.69 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.2475, allocations: 196.1 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2475, allocations: 4.375 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2475, allocations: 8.375 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.2477, allocations: 93.45 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.2477, allocations: 3.938 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.2477, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.2477, allocations: 4 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.91e-05/0.2478, allocations: 35.92 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.2483, allocations: 448.5 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/0.2484, allocations: 37.34 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.2484, allocations: 21.78 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.2484, allocations: 0 / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2484, allocations: 34.56 kB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2484, allocations: 0 / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001481/0.2486, allocations: 57.47 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.2487, allocations: 77.36 kB / 1.066 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.2488, allocations: 173 kB / 1.066 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2488, allocations: 25.7 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.2489, allocations: 104 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.2489, allocations: 7.906 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.2489, allocations: 17.66 kB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2491, allocations: 318.8 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.689e-05/0.2491, allocations: 8 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.2491, allocations: 17.72 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.2492, allocations: 33.7 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2492, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.61e-05/0.2493, allocations: 53.55 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2493, allocations: 7.938 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2493, allocations: 0 / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2493, allocations: 4 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.947e-05/0.2494, allocations: 12.05 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.2494, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.265e-05/0.2494, allocations: 19.84 kB / 1.067 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-06/0.2494, allocations: 0 / 1.067 GB, free: 10.76 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 7.739e-05/0.2495, allocations: 113.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.2495, allocations: 11.84 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.088e-05/0.2496, allocations: 7.875 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2496, allocations: 3.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.2496, allocations: 3.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2496, allocations: 11.92 kB / 1.067 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.25, allocations: 466.8 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.25, allocations: 3.938 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.25, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.25, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.25, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.25, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.25, allocations: 4.062 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.881e-05/0.2501, allocations: 77.83 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/0.2502, allocations: 89.02 kB / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.2502, allocations: 0 / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.2502, allocations: 0 / 1.068 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.2502, allocations: 8.078 kB / 1.068 GB, free: 9.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.2502, allocations: 7.969 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.603e-05/0.2503, allocations: 119.2 kB / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2503, allocations: 0 / 1.068 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001736/0.2505, allocations: 8 kB / 1.068 GB, free: 9.719 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.0003737/0.2509, allocations: 0.617 MB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.214e-05/0.251, allocations: 23.92 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.251, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.168e-05/0.251, allocations: 8 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.2511, allocations: 4 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2522, allocations: 1.339 MB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.2525, allocations: 0.6924 MB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.554e-05/0.2526, allocations: 8.438 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.2526, allocations: 27.42 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2526, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5373/0.7899, allocations: 1.472 MB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002751/0.7902, allocations: 210.3 kB / 1.072 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/2.383, allocations: 0 / 1.072 GB, free: 5.246 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches