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.004535/0.004535, allocations: 101.7 kB / 15.73 MB, free: 6.449 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.001342/0.001342, allocations: 194.2 kB / 16.68 MB, free: 6.352 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.503/2.503, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001757, allocations: 67.84 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2534, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.001741/0.2552, allocations: 0.8312 MB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 9.147e-05/0.2553, allocations: 35.8 kB / 1.221 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.355e-05/0.2554, allocations: 4 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.247e-05/0.2554, allocations: 11.86 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.582e-05/0.2555, allocations: 11.86 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.597e-05/0.2555, allocations: 19.98 kB / 1.221 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.132e-05/0.2556, allocations: 55.84 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.2558, allocations: 63.78 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.77e-05/0.2558, allocations: 23.81 kB / 1.221 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.404e-05/0.2559, allocations: 27.84 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.2559, allocations: 4 kB / 1.221 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.2559, allocations: 12 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.2559, allocations: 11.94 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.256, allocations: 43.72 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.2561, allocations: 67.66 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2561, allocations: 4 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2561, allocations: 0 / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.2561, allocations: 3.938 kB / 1.221 GB, free: 13.08 MB / 0.9825 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.0003944/0.2565, allocations: 379.1 kB / 1.222 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.2566, allocations: 8.031 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.2566, allocations: 38.75 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.346e-05/0.2566, allocations: 16.84 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.2568, allocations: 192.2 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.2568, allocations: 8.375 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.2569, allocations: 4.375 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.257, allocations: 99.8 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.257, allocations: 3.938 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.433e-06/0.257, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.257, allocations: 4 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.785e-05/0.2571, allocations: 39.92 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004705/0.2576, allocations: 432.7 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.989e-05/0.2577, allocations: 37.25 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.2577, allocations: 29.78 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.2577, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.2577, allocations: 30.56 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.2577, allocations: 0 / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001399/0.2579, allocations: 61.52 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.2579, allocations: 77.11 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.2581, allocations: 167.9 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.2581, allocations: 25.7 kB / 1.223 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.2582, allocations: 100.1 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.2582, allocations: 7.953 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.2582, allocations: 17.67 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2584, allocations: 326.8 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.2584, allocations: 8 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.094e-05/0.2584, allocations: 17.72 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.2585, allocations: 33.64 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.2585, allocations: 3.938 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.71e-05/0.2585, allocations: 57.59 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.2586, allocations: 7.938 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.2586, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.2586, allocations: 0 / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.2586, allocations: 16.05 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.2586, allocations: 0 / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.2587, allocations: 3.938 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.2587, allocations: 8 kB / 1.224 GB, free: 10.59 MB / 0.9825 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.132e-05/0.2588, allocations: 109.8 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.2588, allocations: 15.98 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.2588, allocations: 7.859 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2588, allocations: 4 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.2588, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.2589, allocations: 7.984 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.2592, allocations: 474.7 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.2592, allocations: 4 kB / 1.224 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.808e-05/0.2593, allocations: 4 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2593, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.2593, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2593, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2593, allocations: 4 kB / 1.224 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.788e-05/0.2594, allocations: 85.88 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-05/0.2594, allocations: 89.06 kB / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2595, allocations: 0 / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.86e-05/0.2595, allocations: 0 / 1.224 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.2595, allocations: 3.984 kB / 1.224 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-06/0.2595, allocations: 4 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.356e-05/0.2596, allocations: 121.5 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2596, allocations: 0 / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001696/0.2598, allocations: 4 kB / 1.224 GB, free: 9.555 MB / 0.9825 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.00036/0.2601, allocations: 0.6215 MB / 1.225 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.322e-05/0.2602, allocations: 23.92 kB / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2602, allocations: 0 / 1.225 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.425e-05/0.2602, allocations: 11.94 kB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001303/0.2604, allocations: 6.188 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.2615, allocations: 1.334 MB / 1.226 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.2617, allocations: 0.6928 MB / 1.227 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.711e-05/0.2618, allocations: 8.422 kB / 1.227 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.191e-05/0.2618, allocations: 27.42 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2618, allocations: 0 / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.998/3.259, allocations: 1.575 MB / 1.229 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.728/11.99, allocations: 8.562 kB / 1.229 GB, free: 5.191 MB / 0.9825 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