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.001972/0.001972, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002134/0.002134, allocations: 197.2 kB / 16.14 MB, free: 6.629 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.588/1.588, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.946/2.946, allocations: 437 MB / 0.7099 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.91 kB / 0.8686 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8194/0.8215, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002918/0.8244, allocations: 0.8818 MB / 1.017 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001396/0.8246, allocations: 43.78 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.498e-05/0.8247, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.8248, allocations: 11.92 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.795e-05/0.8249, allocations: 3.938 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.015e-05/0.8249, allocations: 19.98 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001249/0.8251, allocations: 51.86 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.8253, allocations: 43.95 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.642e-05/0.8253, allocations: 27.8 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.505e-05/0.8254, allocations: 23.86 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.8254, allocations: 4 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.8255, allocations: 4 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.163e-05/0.8255, allocations: 15.92 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.8256, allocations: 31.8 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.8257, allocations: 73.67 kB / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8257, allocations: 0 / 1.018 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8257, allocations: 3.938 kB / 1.018 GB, free: 1.52 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.8257, allocations: 0 / 1.018 GB, free: 1.52 MB / 0.7637 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.0006765/0.8264, allocations: 387.2 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.8265, allocations: 8.031 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.8265, allocations: 8.844 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.8268, allocations: 192.2 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.8269, allocations: 8.375 kB / 1.018 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.8269, allocations: 4.375 kB / 1.018 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.8271, allocations: 98.05 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.8271, allocations: 192 / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.8272, allocations: 11.86 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.8272, allocations: 4 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.8273, allocations: 35.98 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007306/0.828, allocations: 432.6 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.2e-05/0.8281, allocations: 41.28 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.537e-05/0.8282, allocations: 17.78 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.8282, allocations: 8 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.8283, allocations: 38.48 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.634e-06/0.8283, allocations: 4 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002146/0.8285, allocations: 57.44 kB / 1.019 GB, free: 0 / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.8286, allocations: 85.05 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002033/0.8288, allocations: 159.5 kB / 1.019 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.8288, allocations: 29.7 kB / 1.019 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.135e-05/0.8289, allocations: 104 kB / 1.019 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.075e-05/0.8289, allocations: 3.906 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.829, allocations: 21.97 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000186/0.8292, allocations: 318.8 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.8292, allocations: 8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.156e-05/0.8292, allocations: 21.7 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.8293, allocations: 29.72 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8293, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001058/0.8294, allocations: 57.55 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.8295, allocations: 4 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.8295, allocations: 7.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.8295, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.786e-05/0.8296, allocations: 7.984 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8296, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.88e-05/0.8296, allocations: 7.906 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.8296, allocations: 0 / 1.02 GB, free: 15.08 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 0.000105/0.8298, allocations: 118.6 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.8298, allocations: 15.84 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.63e-05/0.8299, allocations: 19.8 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.8299, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.8299, allocations: 0 / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.8299, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005309/0.8304, allocations: 466.8 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.8305, allocations: 4 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.687e-05/0.8305, allocations: 4.062 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.8305, allocations: 4 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.8305, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.8305, allocations: 3.938 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8305, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.8306, allocations: 81.77 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.8307, allocations: 96.98 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.8307, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.402e-05/0.8308, allocations: 7.984 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.8308, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.8308, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001131/0.8309, allocations: 121.5 kB / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8309, allocations: 0 / 1.021 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002124/0.8311, allocations: 8 kB / 1.021 GB, free: 14.03 MB / 0.7794 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.0001783/0.8313, allocations: 99.25 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.8314, allocations: 16 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.8314, allocations: 3.938 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.341e-05/0.8315, allocations: 8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.8316, allocations: 7.938 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00038/0.832, allocations: 184.8 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.8324, allocations: 0.6887 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.8325, allocations: 12.42 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.8325, allocations: 11.44 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.084e-06/0.8325, allocations: 4 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.003223/0.8358, allocations: 440.5 kB / 1.022 GB, free: 12.5 MB / 0.7794 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=400 -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/jenkins/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