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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001292/0.001292, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001452/0.001452, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.379/1.379, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.362/2.362, allocations: 390.3 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.09 kB / 0.8127 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2848/0.2861, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002403/0.2886, allocations: 0.8845 MB / 0.9506 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001366/0.2887, allocations: 35.8 kB / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.218e-05/0.2888, allocations: 4 kB / 0.9507 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.529e-05/0.2888, allocations: 7.922 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.289, allocations: 7.984 kB / 0.9507 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.981e-05/0.289, allocations: 12 kB / 0.9507 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2891, allocations: 63.78 kB / 0.9508 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.2893, allocations: 43.97 kB / 0.9508 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.2894, allocations: 23.92 kB / 0.9508 GB, free: 8.145 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.671e-05/0.2894, allocations: 27.8 kB / 0.9509 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.832e-05/0.2894, allocations: 4 kB / 0.9509 GB, free: 8.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.299e-05/0.2895, allocations: 8 kB / 0.9509 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.659e-05/0.2895, allocations: 15.92 kB / 0.9509 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.358e-05/0.2895, allocations: 31.81 kB / 0.9509 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.2897, allocations: 56.17 kB / 0.951 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.2897, allocations: 0 / 0.951 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2897, allocations: 0 / 0.951 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.2897, allocations: 0 / 0.951 GB, free: 8.004 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.0005079/0.2902, allocations: 379.1 kB / 0.9513 GB, free: 7.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.2903, allocations: 11.97 kB / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.2903, allocations: 8.844 kB / 0.9513 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002914/0.2906, allocations: 200.1 kB / 0.9515 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.2907, allocations: 8.375 kB / 0.9515 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.2907, allocations: 4.375 kB / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.2909, allocations: 102.1 kB / 0.9516 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2909, allocations: 8.172 kB / 0.9517 GB, free: 7.199 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.2909, allocations: 3.938 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2909, allocations: 0 / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.288e-05/0.291, allocations: 35.98 kB / 0.9517 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.2917, allocations: 436.6 kB / 0.9521 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.383e-05/0.2917, allocations: 41.14 kB / 0.9522 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.107e-05/0.2918, allocations: 29.84 kB / 0.9522 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.978e-06/0.2918, allocations: 4.031 kB / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.2918, allocations: 30.56 kB / 0.9522 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2918, allocations: 0 / 0.9522 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001884/0.292, allocations: 61.47 kB / 0.9523 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.2921, allocations: 77.36 kB / 0.9523 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.2922, allocations: 172.4 kB / 0.9525 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2923, allocations: 29.64 kB / 0.9525 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.378e-05/0.2924, allocations: 99.98 kB / 0.9526 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.6e-05/0.2924, allocations: 11.89 kB / 0.9526 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-05/0.2924, allocations: 13.72 kB / 0.9527 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2926, allocations: 318.8 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.2926, allocations: 11.98 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.386e-05/0.2926, allocations: 17.72 kB / 0.953 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.634e-05/0.2927, allocations: 29.66 kB / 0.953 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2927, allocations: 0 / 0.953 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.992e-05/0.2928, allocations: 53.59 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2928, allocations: 8 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2928, allocations: 3.938 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2929, allocations: 0 / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.2929, allocations: 16 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2929, allocations: 0 / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.293, allocations: 7.844 kB / 0.9531 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.293, allocations: 11.94 kB / 0.9531 GB, free: 5.543 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 8.104e-05/0.2931, allocations: 113.8 kB / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.2931, allocations: 7.906 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.082e-05/0.2932, allocations: 11.81 kB / 0.9532 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2932, allocations: 0 / 0.9532 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2932, allocations: 4 kB / 0.9532 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2932, allocations: 4 kB / 0.9532 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.2936, allocations: 470.8 kB / 0.9537 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2936, allocations: 0 / 0.9537 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.2937, allocations: 4 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.2937, allocations: 3.984 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.2937, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2937, allocations: 3.984 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2937, allocations: 64 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.823e-05/0.2938, allocations: 85.78 kB / 0.9538 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.852e-05/0.2939, allocations: 89 kB / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.2939, allocations: 4 kB / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.04e-05/0.2939, allocations: 0 / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.516e-05/0.2939, allocations: 0 / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.2939, allocations: 4.031 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.236e-05/0.294, allocations: 121.3 kB / 0.954 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.21e-07/0.2941, allocations: 0 / 0.954 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001968/0.2943, allocations: 8 kB / 0.954 GB, free: 4.516 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.0001225/0.2944, allocations: 103.2 kB / 0.9541 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.2945, allocations: 19.92 kB / 0.9541 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2945, allocations: 0 / 0.9541 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.2945, allocations: 12.06 kB / 0.9541 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001689/0.2947, allocations: 11.94 kB / 0.9541 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.2951, allocations: 204.5 kB / 0.9543 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.2954, allocations: 0.7079 MB / 0.955 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.2954, allocations: 11.44 kB / 0.955 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2954, allocations: 0 / 0.955 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of Templates: time 0.002532/0.298, allocations: 0.8716 MB / 0.9559 GB, free: 2.504 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 -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