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.001185/0.001185, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001174/0.001174, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.371 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.609/2.609, allocations: 469.8 MB / 0.7424 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 64.02 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2519, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002005/0.2539, allocations: 0.8236 MB / 1.065 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001033/0.254, allocations: 39.78 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.972e-05/0.2541, allocations: 4 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.615e-05/0.2541, allocations: 11.86 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.632e-05/0.2542, allocations: 11.88 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.81e-05/0.2543, allocations: 15.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.415e-05/0.2544, allocations: 63.84 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.2545, allocations: 39.97 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.662e-05/0.2545, allocations: 31.8 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.685e-05/0.2546, allocations: 27.84 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.2546, allocations: 8 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.2546, allocations: 11.94 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.13e-05/0.2547, allocations: 15.98 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.2547, allocations: 27.75 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.956e-05/0.2548, allocations: 79.97 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2548, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2548, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2548, allocations: 3.938 kB / 1.065 GB, free: 12.98 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.000412/0.2553, allocations: 367.3 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2553, allocations: 8.031 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.029e-05/0.2553, allocations: 46.73 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.2554, allocations: 12.75 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.2556, allocations: 192.1 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2556, allocations: 8.375 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/0.2556, allocations: 8.375 kB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.2558, allocations: 93.19 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2558, allocations: 3.938 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.2558, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.2558, allocations: 8 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.237e-05/0.2559, allocations: 39.92 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.2564, allocations: 428.5 kB / 1.066 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.2565, allocations: 41.34 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.2565, allocations: 17.78 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.2565, allocations: 3.984 kB / 1.066 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2565, allocations: 34.56 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 3.185e-06/0.2566, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001463/0.2567, allocations: 53.7 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.2568, allocations: 89.08 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2569, allocations: 162.2 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.257, allocations: 25.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.176e-05/0.257, allocations: 105.9 kB / 1.067 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.024e-05/0.257, allocations: 7.906 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.2571, allocations: 13.72 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.2572, allocations: 322.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.2572, allocations: 8 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.582e-05/0.2573, allocations: 21.7 kB / 1.067 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.549e-05/0.2573, allocations: 21.72 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.2573, allocations: 0 / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.361e-05/0.2574, allocations: 61.55 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.2574, allocations: 7.938 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2574, allocations: 8.047 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.2575, allocations: 0 / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.2575, allocations: 8 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.2575, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.256e-05/0.2576, allocations: 11.84 kB / 1.067 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-06/0.2576, allocations: 3.938 kB / 1.067 GB, free: 10.51 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 8.6e-05/0.2577, allocations: 117.8 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.2577, allocations: 15.78 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.2577, allocations: 15.86 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.2577, allocations: 4 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2578, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.2578, allocations: 0 / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004012/0.2582, allocations: 474.8 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2582, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.2582, allocations: 4 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2582, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.2582, allocations: 96 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2582, allocations: 8.062 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2582, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.786e-05/0.2583, allocations: 85.81 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.2584, allocations: 85.02 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.2584, allocations: 7.922 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.903e-05/0.2584, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-06/0.2584, allocations: 4.031 kB / 1.068 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.2585, allocations: 4 kB / 1.068 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.303e-05/0.2586, allocations: 126.1 kB / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.2586, allocations: 0 / 1.068 GB, free: 9.469 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001742/0.2587, allocations: 4 kB / 1.068 GB, free: 9.465 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.0004098/0.2592, allocations: 0.6209 MB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.055e-05/0.2592, allocations: 23.94 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2592, allocations: 0 / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.029e-05/0.2593, allocations: 4 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001473/0.2594, allocations: 8 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.2606, allocations: 1.32 MB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.2609, allocations: 0.6924 MB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.2609, allocations: 8.422 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.261, allocations: 19.44 kB / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of SimCode: time 2.034e-06/0.261, allocations: 0 / 1.071 GB, free: 6.617 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5721/0.8331, allocations: 1.554 MB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/12.17, allocations: 9.797 kB / 1.072 GB, free: 5.133 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