Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.001608/0.001608, allocations: 193.5 kB / 17.29 MB, free: 5.883 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.453/1.453, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.61/2.61, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 64.34 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3293, allocations: 153 MB / 1.027 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002203/0.3315, allocations: 0.8487 MB / 1.028 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001244/0.3317, allocations: 39.78 kB / 1.028 GB, free: 1.219 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.3317, allocations: 4 kB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.063e-05/0.3318, allocations: 11.81 kB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.3319, allocations: 7.875 kB / 1.028 GB, free: 1.195 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.412e-05/0.3319, allocations: 23.97 kB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.332, allocations: 59.84 kB / 1.028 GB, free: 1.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.3322, allocations: 43.95 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.15e-05/0.3322, allocations: 27.86 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.076e-05/0.3323, allocations: 27.8 kB / 1.028 GB, free: 1.016 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.3323, allocations: 4 kB / 1.028 GB, free: 1.012 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.3324, allocations: 8 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.3324, allocations: 19.92 kB / 1.028 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.3324, allocations: 35.75 kB / 1.028 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.3325, allocations: 75.69 kB / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3326, allocations: 0 / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3326, allocations: 0 / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3326, allocations: 0 / 1.028 GB, free: 0.875 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.0004046/0.333, allocations: 375.2 kB / 1.028 GB, free: 468 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.333, allocations: 8.031 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3331, allocations: 8.844 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.3333, allocations: 200.1 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3333, allocations: 8.281 kB / 1.028 GB, free: 204 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.643e-05/0.3333, allocations: 8.375 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001387/0.3334, allocations: 91.89 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.3335, allocations: 192 / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3335, allocations: 7.938 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.3335, allocations: 0 / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.3336, allocations: 35.98 kB / 1.029 GB, free: 48 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005563/0.3341, allocations: 444.5 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.3342, allocations: 37.16 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.3343, allocations: 17.84 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.448e-06/0.3343, allocations: 4 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.3343, allocations: 38.59 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.3343, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.3345, allocations: 57.47 kB / 1.029 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3345, allocations: 81.11 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.3347, allocations: 164.7 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.3347, allocations: 25.95 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.049e-05/0.3348, allocations: 108 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.3348, allocations: 3.906 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.3348, allocations: 21.66 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3349, allocations: 322.8 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.525e-05/0.335, allocations: 4 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.335, allocations: 21.72 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.869e-05/0.335, allocations: 29.66 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.335, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.852e-05/0.3351, allocations: 57.59 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3351, allocations: 8 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3352, allocations: 3.938 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3352, allocations: 0 / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.863e-05/0.3352, allocations: 7.938 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3353, allocations: 7.984 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.3353, allocations: 16 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3353, allocations: 0 / 1.03 GB, free: 14.43 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.856e-05/0.3354, allocations: 117.8 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.3354, allocations: 11.89 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.368e-05/0.3355, allocations: 15.81 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3355, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3355, allocations: 0 / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.3355, allocations: 4 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.3359, allocations: 474.8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3359, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.706e-05/0.3359, allocations: 0 / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3359, allocations: 4 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3359, allocations: 4 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3359, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3359, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001005/0.336, allocations: 85.83 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.3361, allocations: 85.02 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.3361, allocations: 0 / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.294e-05/0.3361, allocations: 8 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.3362, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3362, allocations: 3.984 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.222e-05/0.3363, allocations: 118.5 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3363, allocations: 4.031 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001909/0.3365, allocations: 8 kB / 1.031 GB, free: 13.4 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.0001035/0.3366, allocations: 103.2 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.645e-05/0.3367, allocations: 19.94 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3367, allocations: 0 / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.3367, allocations: 8 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.3368, allocations: 7.938 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.3372, allocations: 167.1 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.3374, allocations: 0.6923 MB / 1.032 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.3375, allocations: 8.422 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.3375, allocations: 11.44 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of SimCode: time 1.513e-06/0.3375, allocations: 4 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.002367/0.3399, allocations: 459.1 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches