Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.001218/0.001218, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001169/0.001169, allocations: 191.1 kB / 16.25 MB, free: 6.621 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.62/2.62, allocations: 469.8 MB / 0.7421 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 67.73 kB / 0.9082 GB, free: 34.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2482, 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_ton): time 0.001944/0.2502, allocations: 0.89 MB / 1.064 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.217e-05/0.2503, allocations: 35.8 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.2504, allocations: 0 / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.2504, allocations: 7.922 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.209e-05/0.2505, allocations: 3.938 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.645e-05/0.2505, allocations: 23.98 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.722e-05/0.2506, allocations: 55.86 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2508, allocations: 43.95 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.984e-05/0.2508, allocations: 19.88 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.421e-05/0.2509, allocations: 35.83 kB / 1.065 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.2509, allocations: 8 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.2509, allocations: 4 kB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.954e-05/0.2509, allocations: 15.94 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.251, allocations: 43.67 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.443e-05/0.2511, allocations: 71.98 kB / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2511, allocations: 0 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2511, allocations: 0 / 1.065 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.2511, 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.0003865/0.2515, allocations: 371.3 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2515, allocations: 12.03 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.2516, allocations: 38.75 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.5e-05/0.2516, allocations: 12.75 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.2518, allocations: 192.2 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2518, allocations: 12.31 kB / 1.065 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.2518, allocations: 4.375 kB / 1.065 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.252, allocations: 91.89 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.252, allocations: 3.938 kB / 1.066 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.252, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.252, allocations: 4 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.281e-05/0.2521, allocations: 39.92 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.2526, allocations: 436.6 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.465e-05/0.2526, allocations: 45.19 kB / 1.066 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.149e-05/0.2527, allocations: 17.84 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-06/0.2527, allocations: 4 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.2527, allocations: 30.56 kB / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2527, allocations: 0 / 1.066 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/0.2529, allocations: 61.47 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.2529, allocations: 81.11 kB / 1.066 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2531, allocations: 168.8 kB / 1.066 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.2531, allocations: 29.7 kB / 1.066 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/0.2532, allocations: 100 kB / 1.067 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.2532, allocations: 11.89 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.876e-05/0.2532, allocations: 13.72 kB / 1.067 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2533, allocations: 323.1 kB / 1.067 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.2534, allocations: 12 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.408e-05/0.2534, allocations: 25.64 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.2534, allocations: 25.72 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.2534, allocations: 0 / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.895e-05/0.2535, allocations: 57.53 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.2535, allocations: 12 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.2536, allocations: 4 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.517e-06/0.2536, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/0.2536, allocations: 4 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.2536, allocations: 0 / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.2537, allocations: 11.84 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.2537, allocations: 4 kB / 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.349e-05/0.2538, allocations: 113.8 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.336e-05/0.2538, allocations: 15.84 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/0.2538, allocations: 11.88 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2538, allocations: 0 / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2538, allocations: 3.938 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.2539, allocations: 4 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.2542, allocations: 466.8 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2542, allocations: 4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.949e-05/0.2543, allocations: 3.984 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2543, allocations: 8.062 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.2543, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2543, allocations: 3.938 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2543, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.887e-05/0.2544, allocations: 73.84 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.586e-05/0.2544, allocations: 93 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.2545, allocations: 0 / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.2545, allocations: 8.031 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.914e-06/0.2545, allocations: 0 / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-06/0.2545, allocations: 0 / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.863e-05/0.2546, allocations: 122.1 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2546, allocations: 0 / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001742/0.2548, allocations: 8 kB / 1.068 GB, free: 9.73 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.0003661/0.2552, allocations: 0.6286 MB / 1.068 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.065e-05/0.2552, allocations: 19.92 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.2552, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.293e-05/0.2553, allocations: 8 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001343/0.2554, allocations: 4 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2565, allocations: 1.343 MB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.2568, allocations: 0.7002 MB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.587e-05/0.2568, allocations: 4.438 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.2569, allocations: 27.42 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2569, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/0.4182, allocations: 1.461 MB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.4185, allocations: 213.7 kB / 1.072 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/2.094, allocations: 0 / 1.072 GB, free: 5.246 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches