Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000841/0.0008412, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009973/0.0009975, allocations: 179.3 kB / 16.92 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.817/2.817, allocations: 462.7 MB / 0.7371 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004941/0.0004942, allocations: 16.86 kB / 0.9034 GB, free: 36.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.313, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001045/0.314, allocations: 0.5453 MB / 1.06 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001253/0.3142, allocations: 43.72 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.3143, allocations: 4 kB / 1.06 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/0.3143, allocations: 3.938 kB / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.424e-05/0.3144, allocations: 0 / 1.06 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.721e-05/0.3144, allocations: 19.98 kB / 1.06 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.77e-05/0.3145, allocations: 63.69 kB / 1.06 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.3147, allocations: 35.97 kB / 1.06 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.3148, allocations: 19.88 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.3148, allocations: 15.86 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.3148, allocations: 4 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-06/0.3148, allocations: 0 / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.3149, allocations: 15.92 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.554e-05/0.3149, allocations: 53.44 kB / 1.06 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.019e-05/0.315, allocations: 52.17 kB / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.315, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.863e-06/0.315, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.315, allocations: 0 / 1.06 GB, free: 4.07 MB / 0.8106 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.0003803/0.3154, allocations: 371.2 kB / 1.061 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3155, allocations: 8.031 kB / 1.061 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.3155, allocations: 12.83 kB / 1.061 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/0.3157, allocations: 188.2 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3157, allocations: 4.375 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.3157, allocations: 8.375 kB / 1.061 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001611/0.3159, allocations: 97.14 kB / 1.061 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.3159, allocations: 4.188 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3159, allocations: 7.938 kB / 1.061 GB, free: 3.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.316, allocations: 4 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.044e-05/0.316, allocations: 35.97 kB / 1.061 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.3166, allocations: 444.5 kB / 1.061 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.945e-05/0.3167, allocations: 37.16 kB / 1.061 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.907e-05/0.3167, allocations: 21.94 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.886e-06/0.3167, allocations: 7.922 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3168, allocations: 30.56 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3168, allocations: 4 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001792/0.317, allocations: 57.47 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.317, allocations: 81.11 kB / 1.062 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3172, allocations: 164.1 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3172, allocations: 25.7 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.591e-05/0.3173, allocations: 107.9 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.456e-06/0.3173, allocations: 7.938 kB / 1.062 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.3173, allocations: 9.969 kB / 1.062 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3174, allocations: 326.8 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.73e-05/0.3175, allocations: 7.938 kB / 1.062 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.3175, allocations: 17.72 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.724e-05/0.3175, allocations: 29.64 kB / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3176, allocations: 0 / 1.062 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.656e-05/0.3176, allocations: 61.61 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3177, allocations: 4 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.3177, allocations: 3.938 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.3177, allocations: 0 / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.338e-05/0.3178, allocations: 15.92 kB / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3178, allocations: 0 / 1.062 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.406e-05/0.3178, allocations: 7.844 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-06/0.3178, allocations: 4 kB / 1.062 GB, free: 1.637 MB / 0.8106 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 7.818e-05/0.3179, allocations: 113.8 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.318, allocations: 11.97 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.547e-05/0.318, allocations: 11.81 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.318, allocations: 4 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.318, allocations: 0 / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.318, allocations: 3.984 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.3184, allocations: 466.8 kB / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3184, allocations: 0 / 1.063 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.313e-05/0.3184, allocations: 12.06 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3184, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.3184, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3184, allocations: 0 / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3185, allocations: 4 kB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.182e-05/0.3185, allocations: 81.77 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.91e-05/0.3186, allocations: 85.02 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3186, allocations: 4.031 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.3186, allocations: 4 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.3187, allocations: 3.984 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.3187, allocations: 4 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.072e-05/0.3188, allocations: 119.5 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3188, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001912/0.319, allocations: 7.906 kB / 1.063 GB, free: 0.6094 MB / 0.8106 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.0001257/0.3191, allocations: 103.2 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.466e-05/0.3192, allocations: 19.94 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3192, allocations: 3.938 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.3192, allocations: 8 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.3194, allocations: 11.88 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.3197, allocations: 206.5 kB / 1.064 GB, free: 216 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.32, allocations: 0.6965 MB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.32, allocations: 11.44 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.32, allocations: 0 / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.002342/0.3224, allocations: 0.856 MB / 1.065 GB, free: 14.62 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches