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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001081/0.001082, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009804/0.009805, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.789/2.789, allocations: 443.3 MB / 0.7175 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005313/0.0005316, allocations: 12.03 kB / 0.8796 GB, free: 41.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.381/0.3815, allocations: 155.2 MB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001344/0.383, allocations: 0.542 MB / 1.032 GB, free: 3.781 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/0.3831, allocations: 47.78 kB / 1.032 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.97e-05/0.3832, allocations: 0 / 1.032 GB, free: 3.734 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.3832, allocations: 7.922 kB / 1.032 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.331e-05/0.3833, allocations: 3.938 kB / 1.032 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.567e-05/0.3833, allocations: 15.98 kB / 1.032 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.3835, allocations: 55.86 kB / 1.032 GB, free: 3.652 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.3836, allocations: 47.94 kB / 1.032 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.3838, allocations: 23.8 kB / 1.032 GB, free: 3.582 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.944e-05/0.3838, allocations: 15.86 kB / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.26e-05/0.3839, allocations: 0 / 1.032 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.3839, allocations: 4 kB / 1.032 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.3839, allocations: 7.938 kB / 1.032 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.069e-05/0.384, allocations: 49.52 kB / 1.032 GB, free: 3.5 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001166/0.3841, allocations: 75.89 kB / 1.032 GB, free: 3.426 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3841, allocations: 4 kB / 1.032 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.474e-06/0.3841, allocations: 0 / 1.032 GB, free: 3.422 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3841, allocations: 0 / 1.032 GB, free: 3.422 MB / 0.7794 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.0004437/0.3846, allocations: 363.2 kB / 1.032 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.3846, allocations: 8.031 kB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.3847, allocations: 12.84 kB / 1.032 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.3849, allocations: 204 kB / 1.033 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.385, allocations: 384 / 1.033 GB, free: 2.758 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.385, allocations: 12.38 kB / 1.033 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000169/0.3852, allocations: 89.67 kB / 1.033 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3852, allocations: 192 / 1.033 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3852, allocations: 7.938 kB / 1.033 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3852, allocations: 4 kB / 1.033 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.3853, allocations: 39.92 kB / 1.033 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007111/0.386, allocations: 432.5 kB / 1.033 GB, free: 2.121 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.647e-05/0.3861, allocations: 45.27 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.151e-05/0.3862, allocations: 17.84 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.3862, allocations: 0 / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3862, allocations: 38.56 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3862, allocations: 3.938 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001954/0.3864, allocations: 57.47 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3865, allocations: 81.11 kB / 1.033 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.3866, allocations: 164.6 kB / 1.033 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3867, allocations: 29.7 kB / 1.034 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.3868, allocations: 104.3 kB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.518e-06/0.3868, allocations: 7.891 kB / 1.034 GB, free: 1.508 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.3868, allocations: 9.719 kB / 1.034 GB, free: 1.492 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3869, allocations: 318.8 kB / 1.034 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.034e-05/0.3869, allocations: 11.98 kB / 1.034 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.361e-05/0.387, allocations: 13.72 kB / 1.034 GB, free: 1.141 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.483e-05/0.387, allocations: 29.72 kB / 1.034 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.387, allocations: 0 / 1.034 GB, free: 1.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.675e-05/0.3871, allocations: 61.53 kB / 1.034 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.3871, allocations: 4 kB / 1.034 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3872, allocations: 3.938 kB / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3872, allocations: 0 / 1.034 GB, free: 1.031 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.3873, allocations: 8 kB / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3873, allocations: 0 / 1.034 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.3873, allocations: 11.84 kB / 1.034 GB, free: 1.012 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.3873, allocations: 4 kB / 1.034 GB, free: 1.008 MB / 0.7794 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.86e-05/0.3874, allocations: 127.3 kB / 1.034 GB, free: 0.875 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.3875, allocations: 15.89 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.3875, allocations: 7.812 kB / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.3875, allocations: 4 kB / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3875, allocations: 0 / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.3875, allocations: 0 / 1.034 GB, free: 0.8477 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000466/0.388, allocations: 479.2 kB / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.388, allocations: 0 / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.944e-05/0.388, allocations: 4 kB / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.388, allocations: 0 / 1.035 GB, free: 320 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.3881, allocations: 3.984 kB / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3881, allocations: 0 / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3881, allocations: 4 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.3882, allocations: 77.91 kB / 1.035 GB, free: 212 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.3883, allocations: 96.94 kB / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.3883, allocations: 96 / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.3883, allocations: 0 / 1.035 GB, free: 96 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.3883, allocations: 7.922 kB / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3883, allocations: 4 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000122/0.3885, allocations: 121.3 kB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3885, allocations: 0 / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001879/0.3887, allocations: 11.91 kB / 1.035 GB, free: 15.95 MB / 0.795 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.000147/0.3888, allocations: 103.3 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.3889, allocations: 15.98 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3889, allocations: 0 / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.326e-05/0.3889, allocations: 7.938 kB / 1.035 GB, free: 15.82 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001878/0.3891, allocations: 11.94 kB / 1.035 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003691/0.3895, allocations: 176.9 kB / 1.035 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.3899, allocations: 0.6965 MB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.58e-05/0.3899, allocations: 8.438 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.367e-05/0.39, allocations: 11.44 kB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of SimCode: time 2.91e-07/0.39, allocations: 0 / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of Templates: time 0.002778/0.3927, allocations: 424.5 kB / 1.036 GB, free: 14.43 MB / 0.795 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