Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_10_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.005407/0.005407, allocations: 94.8 kB / 15.73 MB, free: 6.047 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.001475/0.001475, allocations: 206.5 kB / 16.68 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437.1 MB / 0.7106 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002555/0.002555, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.26, allocations: 151.6 MB / 1.166 GB, free: 7.301 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001815/0.2618, allocations: 0.8226 MB / 1.167 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001005/0.2619, allocations: 47.8 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.965e-05/0.262, allocations: 0 / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.546e-05/0.262, allocations: 7.875 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.2621, allocations: 7.922 kB / 1.167 GB, free: 6.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.95e-05/0.2622, allocations: 27.91 kB / 1.167 GB, free: 6.379 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.2623, allocations: 63.84 kB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.2624, allocations: 35.98 kB / 1.167 GB, free: 6.281 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.42e-05/0.2624, allocations: 27.86 kB / 1.167 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.855e-05/0.2625, allocations: 31.8 kB / 1.167 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.2625, allocations: 4 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-06/0.2625, allocations: 8 kB / 1.167 GB, free: 6.211 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.2626, allocations: 19.92 kB / 1.167 GB, free: 6.191 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/0.2626, allocations: 27.81 kB / 1.167 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.2627, allocations: 83.78 kB / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2627, allocations: 0 / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2627, allocations: 0 / 1.167 GB, free: 6.082 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2627, allocations: 0 / 1.167 GB, free: 6.082 MB / 0.92 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.0004099/0.2631, allocations: 383.1 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.2632, allocations: 8.031 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.2632, allocations: 46.73 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.2633, allocations: 16.84 kB / 1.168 GB, free: 5.578 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.2635, allocations: 192.2 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.435e-06/0.2635, allocations: 384 / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2635, allocations: 12.38 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.2636, allocations: 87.94 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.2637, allocations: 7.875 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2637, allocations: 8 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2637, allocations: 4 kB / 1.168 GB, free: 5.223 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.186e-05/0.2638, allocations: 43.86 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.2643, allocations: 432.6 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.62e-05/0.2643, allocations: 45.34 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.171e-05/0.2644, allocations: 17.77 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2644, allocations: 3.984 kB / 1.169 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.2644, allocations: 38.56 kB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.2644, allocations: 0 / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001428/0.2646, allocations: 53.72 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2646, allocations: 81.17 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.2648, allocations: 156.3 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.2648, allocations: 29.7 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.2649, allocations: 100.1 kB / 1.169 GB, free: 4.113 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.2649, allocations: 15.83 kB / 1.169 GB, free: 4.098 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.2649, allocations: 17.72 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.265, allocations: 318.8 kB / 1.169 GB, free: 3.754 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.466e-05/0.2651, allocations: 8 kB / 1.169 GB, free: 3.746 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.274e-05/0.2651, allocations: 21.7 kB / 1.169 GB, free: 3.719 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.652e-05/0.2651, allocations: 21.72 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2651, allocations: 0 / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.345e-05/0.2652, allocations: 69.53 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.2652, allocations: 7.938 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2653, allocations: 4.062 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2653, allocations: 4 kB / 1.17 GB, free: 3.602 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.806e-05/0.2653, allocations: 4 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2653, allocations: 3.984 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.2654, allocations: 4 kB / 1.17 GB, free: 3.59 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.2654, allocations: 0 / 1.17 GB, free: 3.59 MB / 0.92 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.186e-05/0.2655, allocations: 113.8 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.2655, allocations: 11.89 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.49e-05/0.2655, allocations: 19.8 kB / 1.17 GB, free: 3.434 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.2655, allocations: 4 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2656, allocations: 0 / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.2656, allocations: 3.938 kB / 1.17 GB, free: 3.426 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.2659, allocations: 470.7 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.266, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.266, allocations: 4 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.266, allocations: 0 / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.266, allocations: 8.062 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.266, allocations: 4 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.266, allocations: 0 / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.889e-05/0.2661, allocations: 81.88 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.2662, allocations: 92.98 kB / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.2662, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.802e-05/0.2662, allocations: 0 / 1.17 GB, free: 2.676 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.2662, allocations: 11.97 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.2662, allocations: 4 kB / 1.17 GB, free: 2.66 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.576e-05/0.2663, allocations: 120.7 kB / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.2663, allocations: 0 / 1.17 GB, free: 2.543 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000176/0.2665, allocations: 11.94 kB / 1.17 GB, free: 2.531 MB / 0.92 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.0003673/0.2669, allocations: 0.6154 MB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.098e-05/0.267, allocations: 23.94 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.267, allocations: 0 / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-06/0.267, allocations: 4 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.2671, allocations: 9.875 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.2683, allocations: 1.335 MB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2686, allocations: 0.6924 MB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.2686, allocations: 4.438 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.2687, allocations: 27.42 kB / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2687, allocations: 0 / 1.173 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.801/2.07, allocations: 1.581 MB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/12.53, allocations: 10.75 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches