Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.00135/0.00135, allocations: 113.3 kB / 16.37 MB, free: 6.012 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.001416/0.001417, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 66.94 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3446, allocations: 140.4 MB / 0.9511 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002718/0.3474, allocations: 0.8239 MB / 0.9519 GB, free: 7.246 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001365/0.3476, allocations: 47.78 kB / 0.952 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.3476, allocations: 3.938 kB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.288e-05/0.3477, allocations: 7.875 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.3478, allocations: 11.86 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.925e-05/0.3479, allocations: 19.98 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.348, allocations: 59.84 kB / 0.9521 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3482, allocations: 43.97 kB / 0.9521 GB, free: 7.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.3482, allocations: 31.8 kB / 0.9522 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.234e-05/0.3483, allocations: 23.86 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.3483, allocations: 4 kB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.202e-05/0.3483, allocations: 8 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.91e-05/0.3484, allocations: 11.92 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.3484, allocations: 39.73 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.3486, allocations: 75.7 kB / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3486, allocations: 0 / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.535e-06/0.3486, allocations: 4 kB / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.3486, allocations: 0 / 0.9523 GB, free: 6.859 MB / 0.7325 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.0005307/0.3491, allocations: 383.1 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.3492, allocations: 11.97 kB / 0.9527 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3492, allocations: 8.844 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.3495, allocations: 188.2 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3495, allocations: 4.375 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.3495, allocations: 8.375 kB / 0.9529 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3497, allocations: 99.8 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3497, allocations: 192 / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3497, allocations: 11.92 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.3497, allocations: 4 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.3498, allocations: 35.98 kB / 0.953 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.3505, allocations: 436.6 kB / 0.9534 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.091e-05/0.3506, allocations: 37.22 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.248e-05/0.3507, allocations: 17.78 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.3507, allocations: 4.031 kB / 0.9535 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.3507, allocations: 38.55 kB / 0.9535 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.3507, allocations: 4 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001862/0.3509, allocations: 53.48 kB / 0.9536 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001503/0.3511, allocations: 77.11 kB / 0.9537 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.3512, allocations: 167.8 kB / 0.9538 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.3513, allocations: 25.7 kB / 0.9539 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.066e-05/0.3514, allocations: 108 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.008e-05/0.3514, allocations: 7.906 kB / 0.954 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.3514, allocations: 21.91 kB / 0.954 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.3516, allocations: 322.8 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.3517, allocations: 8 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.027e-05/0.3517, allocations: 17.7 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.3517, allocations: 33.66 kB / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3518, allocations: 0 / 0.9544 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.374e-05/0.3518, allocations: 53.61 kB / 0.9544 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3519, allocations: 4 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.3519, allocations: 7.938 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3519, allocations: 0 / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.641e-05/0.352, allocations: 11.92 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.352, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.352, allocations: 11.84 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.352, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 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.001e-05/0.3521, allocations: 119.9 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.765e-05/0.3522, allocations: 7.906 kB / 0.9546 GB, free: 4.285 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.3522, allocations: 19.8 kB / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3522, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3522, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3522, allocations: 0 / 0.9546 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.3528, allocations: 470.8 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3528, allocations: 64 / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.3528, allocations: 8 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3528, allocations: 0 / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3528, allocations: 4 kB / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3528, allocations: 0 / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3528, allocations: 0 / 0.955 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.413e-05/0.3529, allocations: 81.86 kB / 0.9551 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.353, allocations: 97.03 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.353, allocations: 0 / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.305e-05/0.353, allocations: 7.984 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.682e-05/0.3531, allocations: 4 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-06/0.3531, allocations: 0 / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.721e-05/0.3532, allocations: 122.3 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3532, allocations: 0 / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001884/0.3534, allocations: 8 kB / 0.9553 GB, free: 3.379 MB / 0.7325 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.0001419/0.3535, allocations: 99.78 kB / 0.9554 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.532e-05/0.3536, allocations: 23.88 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.3536, allocations: 4 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.238e-06/0.3536, allocations: 4 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.3538, allocations: 17.95 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.3542, allocations: 158.8 kB / 0.9556 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.3545, allocations: 0.7041 MB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.911e-05/0.3546, allocations: 8.422 kB / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.3546, allocations: 11.44 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.3546, allocations: 0 / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of Templates: time 0.002942/0.3576, allocations: 448.5 kB / 0.9568 GB, free: 1.848 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches