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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001671/0.001671, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.208/2.208, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 66.08 kB / 0.8132 GB, free: 33 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2726, allocations: 140.4 MB / 0.9503 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00243/0.2751, allocations: 0.8176 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.2753, allocations: 47.72 kB / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.2754, allocations: 0 / 0.9511 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.456e-05/0.2754, allocations: 7.875 kB / 0.9511 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.244e-05/0.2755, allocations: 15.88 kB / 0.9511 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.231e-05/0.2756, allocations: 23.91 kB / 0.9512 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.2757, allocations: 59.86 kB / 0.9512 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.2759, allocations: 43.94 kB / 0.9513 GB, free: 7.848 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.133e-05/0.2759, allocations: 27.88 kB / 0.9513 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.916e-05/0.276, allocations: 31.78 kB / 0.9513 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.276, allocations: 4 kB / 0.9513 GB, free: 7.785 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.276, allocations: 8 kB / 0.9513 GB, free: 7.777 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.196e-05/0.2761, allocations: 15.94 kB / 0.9513 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.2761, allocations: 31.8 kB / 0.9514 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.2762, allocations: 71.98 kB / 0.9514 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2762, allocations: 0 / 0.9514 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2762, allocations: 0 / 0.9514 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.2762, allocations: 0 / 0.9514 GB, free: 7.66 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.000458/0.2767, allocations: 383.1 kB / 0.9518 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2767, allocations: 8.031 kB / 0.9518 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.559e-05/0.2768, allocations: 12.84 kB / 0.9518 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.2771, allocations: 196.1 kB / 0.952 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.2771, allocations: 4.375 kB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.2771, allocations: 8.375 kB / 0.952 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001537/0.2773, allocations: 95.78 kB / 0.9521 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.2773, allocations: 4.188 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.2773, allocations: 7.938 kB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2773, allocations: 4 kB / 0.9521 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.226e-05/0.2774, allocations: 35.98 kB / 0.9522 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.2779, allocations: 432.6 kB / 0.9526 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001/0.2781, allocations: 41.16 kB / 0.9526 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/0.2781, allocations: 17.83 kB / 0.9526 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.428e-06/0.2781, allocations: 4 kB / 0.9526 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/0.2781, allocations: 38.59 kB / 0.9527 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.2782, allocations: 4 kB / 0.9527 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001685/0.2783, allocations: 53.48 kB / 0.9527 GB, free: 6.145 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.2784, allocations: 81.11 kB / 0.9528 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.2785, allocations: 160 kB / 0.953 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.2786, allocations: 33.7 kB / 0.953 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.2786, allocations: 107.9 kB / 0.9531 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.827e-06/0.2787, allocations: 3.906 kB / 0.9531 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.2787, allocations: 17.97 kB / 0.9531 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2788, allocations: 322.8 kB / 0.9534 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.2788, allocations: 4 kB / 0.9534 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.2789, allocations: 33.62 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.01e-05/0.2789, allocations: 25.66 kB / 0.9535 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2789, allocations: 0 / 0.9535 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.554e-05/0.279, allocations: 57.61 kB / 0.9535 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.279, allocations: 7.984 kB / 0.9536 GB, free: 5.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.279, allocations: 7.938 kB / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2791, allocations: 0 / 0.9536 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.073e-05/0.2791, allocations: 4 kB / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2791, allocations: 3.938 kB / 0.9536 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.2792, allocations: 11.84 kB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.2792, allocations: 0 / 0.9536 GB, free: 5.211 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.484e-05/0.2793, allocations: 115.8 kB / 0.9537 GB, free: 5.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.2793, allocations: 11.97 kB / 0.9537 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.737e-05/0.2794, allocations: 19.8 kB / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.2794, allocations: 0 / 0.9537 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.2794, allocations: 4 kB / 0.9537 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2794, allocations: 4 kB / 0.9537 GB, free: 5.051 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004011/0.2798, allocations: 462.8 kB / 0.9542 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2798, allocations: 4 kB / 0.9542 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.198e-05/0.2798, allocations: 4.062 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2798, allocations: 4 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.2799, allocations: 0 / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2799, allocations: 0 / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.2799, allocations: 0 / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.885e-05/0.28, allocations: 85.77 kB / 0.9543 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.28, allocations: 89 kB / 0.9543 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.2801, allocations: 4.031 kB / 0.9543 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.2801, allocations: 4 kB / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.2801, allocations: 0 / 0.9544 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.2801, allocations: 4 kB / 0.9544 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.522e-05/0.2802, allocations: 126.2 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2802, allocations: 0 / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001909/0.2804, allocations: 8 kB / 0.9545 GB, free: 4.172 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.0001051/0.2805, allocations: 95.78 kB / 0.9546 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.2806, allocations: 27.94 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2806, allocations: 0 / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.2806, allocations: 7.984 kB / 0.9546 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.2808, allocations: 11.94 kB / 0.9546 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003589/0.2812, allocations: 188.5 kB / 0.9548 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.2815, allocations: 0.6961 MB / 0.9555 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.2815, allocations: 11.44 kB / 0.9555 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.2815, allocations: 3.938 kB / 0.9555 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of Templates: time 0.002256/0.2838, allocations: 0.86 MB / 0.9563 GB, free: 2.203 MB / 0.7325 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches