Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.429/2.429, allocations: 390.3 MB / 405.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 169.1 kB / 498.1 MB, free: 5.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 0.7948 GB, free: 17.91 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 108.1 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003264, allocations: 14.23 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3616, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.266/0.6276, allocations: 148.8 MB / 1.368 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.628, allocations: 75.89 kB / 1.368 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.003651/0.6316, allocations: 1.088 MB / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.245e-06/0.6317, allocations: 0 / 1.369 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.6317, allocations: 0 / 1.369 GB, free: 12.09 MB / 0.8698 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.0004792/0.6322, allocations: 377.8 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.6323, allocations: 12.03 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.6323, allocations: 11.86 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.6325, allocations: 174.9 kB / 1.37 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.258e-05/0.6326, allocations: 11.94 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.6326, allocations: 4 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.6328, allocations: 87.39 kB / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.6329, allocations: 0 / 1.37 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.6329, allocations: 12 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.607e-06/0.6329, allocations: 3.984 kB / 1.37 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.633, allocations: 43.86 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/0.6338, allocations: 440.6 kB / 1.37 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.251e-05/0.6339, allocations: 41.19 kB / 1.37 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.634, allocations: 8.109 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.634, allocations: 30.56 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 2.425e-06/0.634, allocations: 0 / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002541/0.6343, allocations: 53.55 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.6344, allocations: 77.11 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.6346, allocations: 155 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.6346, allocations: 25.7 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.992e-05/0.6347, allocations: 99.98 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.6347, allocations: 7.891 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.6348, allocations: 0 / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.6349, allocations: 323.3 kB / 1.371 GB, free: 9.902 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.842e-05/0.6349, allocations: 8 kB / 1.371 GB, free: 9.895 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.144e-05/0.635, allocations: 29.58 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.627e-05/0.635, allocations: 11.95 kB / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6351, allocations: 0 / 1.371 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.6352, allocations: 57.59 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.6352, allocations: 4.625 kB / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.6353, allocations: 4.062 kB / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.6353, allocations: 0 / 1.371 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.6354, allocations: 11.94 kB / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6354, allocations: 0 / 1.371 GB, free: 9.766 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.6355, allocations: 11.91 kB / 1.371 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.6355, allocations: 0 / 1.371 GB, free: 9.754 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.6356, allocations: 117.8 kB / 1.371 GB, free: 9.629 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.492e-05/0.6357, allocations: 7.906 kB / 1.371 GB, free: 9.621 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.777e-05/0.6358, allocations: 11.86 kB / 1.372 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.6358, allocations: 4 kB / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.6358, allocations: 0 / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.6358, allocations: 0 / 1.372 GB, free: 9.605 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/0.6364, allocations: 474.7 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.6364, allocations: 4 kB / 1.372 GB, free: 9.074 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.6364, allocations: 4 kB / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.6365, allocations: 0 / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.6365, allocations: 64 / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6365, allocations: 11.98 kB / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.6365, allocations: 0 / 1.372 GB, free: 9.059 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.6367, allocations: 91.61 kB / 1.372 GB, free: 8.941 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.288e-05/0.6368, allocations: 96.92 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.6368, allocations: 0 / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.28e-05/0.6368, allocations: 4.031 kB / 1.372 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.6369, allocations: 4 kB / 1.372 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.6369, allocations: 4 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001341/0.637, allocations: 120.9 kB / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/0.637, allocations: 0 / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003303/0.6374, allocations: 15.86 kB / 1.372 GB, free: 8.684 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.6375, allocations: 99.03 kB / 1.372 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.6377, allocations: 23.92 kB / 1.372 GB, free: 8.551 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6377, allocations: 4 kB / 1.372 GB, free: 8.547 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.793e-05/0.6377, allocations: 11.94 kB / 1.372 GB, free: 8.535 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.6379, allocations: 4 kB / 1.372 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.6384, allocations: 192.7 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.6387, allocations: 0.6965 MB / 1.373 GB, free: 7.582 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.6388, allocations: 8.422 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.6388, allocations: 11.44 kB / 1.373 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of SimCode: time 3.31e-07/0.6388, allocations: 0 / 1.373 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of Templates: time 0.003285/0.6421, allocations: 415.9 kB / 1.374 GB, free: 7.156 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches