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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.00178/0.00178, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002119/0.002119, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.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.569/2.569, allocations: 437 MB / 0.711 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 63.84 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2888, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002138/0.291, allocations: 0.8371 MB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001192/0.2911, allocations: 39.78 kB / 1.019 GB, free: 9.742 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.2912, allocations: 4 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.329e-05/0.2913, allocations: 11.86 kB / 1.019 GB, free: 9.727 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.2914, allocations: 11.88 kB / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.628e-05/0.2914, allocations: 19.98 kB / 1.019 GB, free: 9.695 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.2915, allocations: 63.75 kB / 1.019 GB, free: 9.633 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.2917, allocations: 43.97 kB / 1.019 GB, free: 9.59 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.824e-05/0.2917, allocations: 27.86 kB / 1.019 GB, free: 9.562 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.78e-05/0.2918, allocations: 27.86 kB / 1.019 GB, free: 9.535 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.2918, allocations: 8 kB / 1.019 GB, free: 9.527 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.091e-05/0.2918, allocations: 4 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.2919, allocations: 23.84 kB / 1.019 GB, free: 9.5 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.2919, allocations: 31.75 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.292, allocations: 68.06 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.292, allocations: 0 / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.452e-06/0.292, allocations: 0 / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.292, allocations: 3.984 kB / 1.019 GB, free: 9.398 MB / 0.795 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.0004181/0.2925, allocations: 379.2 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.2925, allocations: 8.922 kB / 1.02 GB, free: 8.969 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.2925, allocations: 8.844 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002153/0.2928, allocations: 196.2 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2928, allocations: 8.312 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.2928, allocations: 8.375 kB / 1.02 GB, free: 8.715 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.293, allocations: 95.8 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.293, allocations: 4.188 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.293, allocations: 3.938 kB / 1.02 GB, free: 8.602 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.293, allocations: 4 kB / 1.02 GB, free: 8.598 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.466e-05/0.2931, allocations: 43.86 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.2936, allocations: 428.6 kB / 1.02 GB, free: 8.082 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/0.2937, allocations: 49.23 kB / 1.02 GB, free: 8.016 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.384e-05/0.2937, allocations: 17.78 kB / 1.02 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.2937, allocations: 4 kB / 1.02 GB, free: 7.988 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2938, allocations: 30.56 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2938, allocations: 0 / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001888/0.294, allocations: 61.47 kB / 1.02 GB, free: 7.883 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.294, allocations: 81.11 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.2942, allocations: 156.9 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.2942, allocations: 29.7 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.2942, allocations: 99.98 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.208e-05/0.2943, allocations: 11.89 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.2943, allocations: 13.72 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2944, allocations: 319.1 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.2944, allocations: 11.98 kB / 1.021 GB, free: 7.121 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.2945, allocations: 17.66 kB / 1.021 GB, free: 7.098 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.078e-05/0.2945, allocations: 29.72 kB / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2945, allocations: 0 / 1.021 GB, free: 7.062 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.778e-05/0.2946, allocations: 61.56 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2947, allocations: 4 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.2947, allocations: 7.938 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2947, allocations: 0 / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.696e-05/0.2948, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.2948, allocations: 0 / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.916e-05/0.2948, allocations: 11.84 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.2948, allocations: 0 / 1.021 GB, free: 6.969 MB / 0.795 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.125e-05/0.2949, allocations: 117.8 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.844e-05/0.295, allocations: 7.938 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.295, allocations: 19.81 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.295, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.295, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.295, allocations: 4 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004233/0.2955, allocations: 466.8 kB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.2955, allocations: 8 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.2955, allocations: 3.938 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.2955, allocations: 16.08 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.732e-06/0.2955, allocations: 3.938 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2955, allocations: 0 / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.2956, allocations: 3.984 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.173e-05/0.2956, allocations: 73.84 kB / 1.022 GB, free: 6.164 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.2957, allocations: 93 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.2957, allocations: 4.031 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.2957, allocations: 0 / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.2958, allocations: 4 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.2958, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.51e-05/0.2959, allocations: 121.1 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2959, allocations: 0 / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001973/0.2961, allocations: 8 kB / 1.022 GB, free: 5.922 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.0001188/0.2962, allocations: 99.19 kB / 1.022 GB, free: 5.812 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.233e-05/0.2963, allocations: 23.98 kB / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.2963, allocations: 0 / 1.022 GB, free: 5.789 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-05/0.2963, allocations: 11.94 kB / 1.022 GB, free: 5.777 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000161/0.2965, allocations: 13.83 kB / 1.022 GB, free: 5.766 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.2968, allocations: 184.8 kB / 1.022 GB, free: 5.547 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.2971, allocations: 0.6889 MB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.2971, allocations: 11.44 kB / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of SimCode: time 3.81e-07/0.2971, allocations: 0 / 1.023 GB, free: 4.82 MB / 0.795 GB Notification: Performance of Templates: time 0.002135/0.2993, allocations: 0.8653 MB / 1.024 GB, free: 3.957 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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