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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00117/0.00117, allocations: 108 kB / 15.6 MB, free: 128 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.001257/0.001257, allocations: 196.2 kB / 16.53 MB, free: 6.672 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 472.7 MB / 0.7452 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 67.53 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.37, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002446/0.3725, allocations: 0.8216 MB / 1.069 GB, free: 9.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001186/0.3726, allocations: 43.78 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.3727, allocations: 4 kB / 1.069 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.3728, allocations: 7.875 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.3729, allocations: 11.92 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.419e-05/0.3729, allocations: 15.98 kB / 1.069 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.373, allocations: 67.78 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001646/0.3732, allocations: 43.95 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.263e-05/0.3733, allocations: 27.86 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.3733, allocations: 23.86 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3734, allocations: 8 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.3734, allocations: 4 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.3734, allocations: 23.86 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.3735, allocations: 31.75 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3736, allocations: 68.05 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3736, allocations: 4 kB / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3736, allocations: 0 / 1.069 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.3736, allocations: 3.984 kB / 1.069 GB, free: 9.18 MB / 0.8262 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.000448/0.3741, allocations: 379.2 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3741, allocations: 8.031 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.3742, allocations: 12.84 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.3744, allocations: 188.2 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.3744, allocations: 12.31 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.3744, allocations: 12.31 kB / 1.07 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001603/0.3746, allocations: 96.89 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3746, allocations: 192 / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3746, allocations: 7.938 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3746, allocations: 3.938 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.3747, allocations: 35.92 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005909/0.3753, allocations: 440.6 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.389e-05/0.3754, allocations: 41.17 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.128e-05/0.3754, allocations: 21.84 kB / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.3755, allocations: 0 / 1.071 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.3755, allocations: 34.56 kB / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3755, allocations: 0 / 1.071 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001797/0.3757, allocations: 61.47 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.3757, allocations: 77.11 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.3759, allocations: 164.3 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.3759, allocations: 25.7 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.376, allocations: 104.2 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.376, allocations: 11.89 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-05/0.376, allocations: 13.72 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3762, allocations: 318.8 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.3762, allocations: 11.98 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.107e-05/0.3763, allocations: 17.66 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.3763, allocations: 29.72 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3763, allocations: 0 / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.207e-05/0.3764, allocations: 61.53 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.3764, allocations: 4 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3764, allocations: 3.938 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3764, allocations: 0 / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.3765, allocations: 8 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3765, allocations: 0 / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.21e-05/0.3766, allocations: 11.84 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3766, allocations: 4 kB / 1.072 GB, free: 6.742 MB / 0.8262 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.911e-05/0.3767, allocations: 124 kB / 1.072 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/0.3767, allocations: 7.906 kB / 1.072 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.349e-05/0.3768, allocations: 7.812 kB / 1.072 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.3768, allocations: 8.078 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3768, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3768, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/0.3772, allocations: 474.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3772, allocations: 7.875 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.778e-05/0.3772, allocations: 4 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3772, allocations: 3.984 kB / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.3772, allocations: 0 / 1.072 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3772, allocations: 3.938 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3772, allocations: 4 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.57e-05/0.3773, allocations: 77.91 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.3774, allocations: 89 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3774, allocations: 8 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.3774, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/0.3774, allocations: 0 / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3775, allocations: 4 kB / 1.072 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.853e-05/0.3775, allocations: 118.1 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3776, allocations: 4 kB / 1.072 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001859/0.3777, allocations: 11.94 kB / 1.072 GB, free: 5.691 MB / 0.8262 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.0001191/0.3779, allocations: 103.2 kB / 1.073 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.195e-05/0.378, allocations: 19.92 kB / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.378, allocations: 0 / 1.073 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.225e-05/0.378, allocations: 4 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.3781, allocations: 17.91 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.3785, allocations: 167 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.3788, allocations: 0.6924 MB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.988e-05/0.3788, allocations: 12.42 kB / 1.073 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.225e-05/0.3788, allocations: 11.44 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3788, allocations: 0 / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of Templates: time 0.002512/0.3814, allocations: 450.1 kB / 1.074 GB, free: 4.168 MB / 0.8262 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 -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/jenkins/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