Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009683/0.009683, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.001582/0.001582, allocations: 200.4 kB / 16.68 MB, free: 5.98 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.786/2.786, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 75.88 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3839, allocations: 157.4 MB / 1.208 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002701/0.3866, allocations: 0.8271 MB / 1.209 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001788/0.3868, allocations: 39.84 kB / 1.209 GB, free: 8.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.149e-05/0.3869, allocations: 7.938 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.387, allocations: 3.938 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.304e-05/0.3871, allocations: 7.875 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.519e-05/0.3872, allocations: 19.98 kB / 1.209 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000258/0.3874, allocations: 59.83 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.3876, allocations: 51.86 kB / 1.209 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.736e-05/0.3877, allocations: 23.86 kB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.3877, allocations: 31.84 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.3878, allocations: 4 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.117e-05/0.3878, allocations: 8 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.3878, allocations: 19.92 kB / 1.209 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.548e-05/0.3879, allocations: 31.81 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.388, allocations: 75.62 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3881, allocations: 3.938 kB / 1.209 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3881, allocations: 4 kB / 1.209 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.3881, allocations: 0 / 1.209 GB, free: 8.406 MB / 0.9669 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.0004508/0.3885, allocations: 379.1 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3886, allocations: 12.62 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.3886, allocations: 8.844 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.3888, allocations: 196.2 kB / 1.209 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.3889, allocations: 4.375 kB / 1.209 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.624e-05/0.3889, allocations: 12.38 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.3891, allocations: 89.61 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3891, allocations: 192 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3891, allocations: 7.938 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.3891, allocations: 4 kB / 1.21 GB, free: 7.609 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.485e-05/0.3892, allocations: 39.92 kB / 1.21 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005989/0.3898, allocations: 432.6 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.452e-05/0.3899, allocations: 41.23 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.487e-05/0.3899, allocations: 17.78 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.39, allocations: 4 kB / 1.21 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.39, allocations: 34.56 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.39, allocations: 3.938 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002122/0.3902, allocations: 61.47 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.3903, allocations: 77.11 kB / 1.21 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.3904, allocations: 154.5 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3905, allocations: 29.7 kB / 1.21 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.3906, allocations: 104 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.3906, allocations: 15.88 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.3906, allocations: 21.62 kB / 1.211 GB, free: 6.457 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3908, allocations: 314.8 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.3909, allocations: 7.984 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.3909, allocations: 17.72 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.128e-05/0.391, allocations: 29.66 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.652e-05/0.3911, allocations: 0 / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.65e-05/0.3912, allocations: 65.66 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3912, allocations: 4 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3912, allocations: 7.922 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3912, allocations: 4 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.3913, allocations: 4 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3913, allocations: 64 / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.477e-05/0.3913, allocations: 15.84 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.111e-06/0.3913, allocations: 0 / 1.211 GB, free: 5.969 MB / 0.9669 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 9.557e-05/0.3914, allocations: 117.8 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.3915, allocations: 7.906 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.3917, allocations: 15.81 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3917, allocations: 0 / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3917, allocations: 0 / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3917, allocations: 0 / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.3921, allocations: 470.8 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3922, allocations: 4 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/0.3922, allocations: 4 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3922, allocations: 3.984 kB / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3922, allocations: 0 / 1.212 GB, free: 5.285 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3922, allocations: 4 kB / 1.212 GB, free: 5.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3922, allocations: 3.938 kB / 1.212 GB, free: 5.277 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.926e-05/0.3923, allocations: 85.81 kB / 1.212 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/0.3924, allocations: 89 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.3924, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.013e-05/0.3925, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.213e-05/0.3925, allocations: 4 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3925, allocations: 0 / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.575e-05/0.3926, allocations: 129.9 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3926, allocations: 0 / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000194/0.3928, allocations: 11.94 kB / 1.212 GB, free: 4.926 MB / 0.9669 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.0002466/0.393, allocations: 95.25 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.3932, allocations: 19.92 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3932, allocations: 4 kB / 1.212 GB, free: 4.801 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.3932, allocations: 4 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.3934, allocations: 12.19 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003945/0.3938, allocations: 166.7 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.3941, allocations: 0.6967 MB / 1.213 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.581e-05/0.3941, allocations: 8.422 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/0.3942, allocations: 11.44 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of SimCode: time 3.3e-07/0.3942, allocations: 4 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of Templates: time 0.002917/0.3971, allocations: 467.7 kB / 1.213 GB, free: 3.387 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches