Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 115.1 kB / 17.08 MB, free: 5.789 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 193.2 kB / 20.03 MB, free: 2.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437 MB / 0.7177 GB, free: 4.465 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.89 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3094, allocations: 151.6 MB / 1.176 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002142/0.3116, allocations: 0.835 MB / 1.177 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.3117, allocations: 39.84 kB / 1.177 GB, free: 4.953 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.3118, allocations: 7.938 kB / 1.177 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.3118, allocations: 7.922 kB / 1.177 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.3119, allocations: 7.875 kB / 1.177 GB, free: 4.93 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.096e-05/0.312, allocations: 19.98 kB / 1.177 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.3121, allocations: 63.78 kB / 1.177 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000149/0.3123, allocations: 47.97 kB / 1.177 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.375e-05/0.3123, allocations: 19.94 kB / 1.177 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.3124, allocations: 31.78 kB / 1.177 GB, free: 4.75 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3124, allocations: 4 kB / 1.177 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.174e-05/0.3124, allocations: 12 kB / 1.177 GB, free: 4.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.079e-05/0.3125, allocations: 15.86 kB / 1.177 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.3125, allocations: 35.8 kB / 1.177 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.3126, allocations: 79.53 kB / 1.177 GB, free: 4.605 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3127, allocations: 0 / 1.177 GB, free: 4.605 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3127, allocations: 0 / 1.177 GB, free: 4.605 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3127, allocations: 0 / 1.177 GB, free: 4.605 MB / 0.92 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.0005127/0.3132, allocations: 383.1 kB / 1.177 GB, free: 4.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3132, allocations: 8.031 kB / 1.177 GB, free: 4.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.3133, allocations: 16.84 kB / 1.177 GB, free: 4.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.3135, allocations: 200.1 kB / 1.178 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.3135, allocations: 8.375 kB / 1.178 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.3136, allocations: 4.375 kB / 1.178 GB, free: 3.91 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.3137, allocations: 94.12 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.3138, allocations: 192 / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.3138, allocations: 7.938 kB / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3138, allocations: 0 / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.3139, allocations: 43.92 kB / 1.178 GB, free: 3.758 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005667/0.3144, allocations: 428.7 kB / 1.178 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.592e-05/0.3145, allocations: 41.28 kB / 1.178 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.287e-05/0.3146, allocations: 29.83 kB / 1.178 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.3146, allocations: 3.984 kB / 1.178 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.3146, allocations: 30.56 kB / 1.178 GB, free: 3.148 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3146, allocations: 0 / 1.178 GB, free: 3.148 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001789/0.3148, allocations: 53.53 kB / 1.178 GB, free: 3.09 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.3148, allocations: 81.11 kB / 1.178 GB, free: 2.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001571/0.315, allocations: 165.1 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.315, allocations: 25.7 kB / 1.179 GB, free: 2.793 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.974e-05/0.3151, allocations: 104 kB / 1.179 GB, free: 2.688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.016e-05/0.3151, allocations: 7.953 kB / 1.179 GB, free: 2.68 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/0.3152, allocations: 13.72 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.3153, allocations: 318.8 kB / 1.179 GB, free: 2.34 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.735e-05/0.3153, allocations: 11.94 kB / 1.179 GB, free: 2.328 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/0.3153, allocations: 21.7 kB / 1.179 GB, free: 2.301 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.3154, allocations: 29.72 kB / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3154, allocations: 0 / 1.179 GB, free: 2.266 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.527e-05/0.3155, allocations: 57.55 kB / 1.179 GB, free: 2.203 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.3155, allocations: 11.98 kB / 1.179 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3155, allocations: 3.938 kB / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3156, allocations: 0 / 1.179 GB, free: 2.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.3156, allocations: 4 kB / 1.179 GB, free: 2.184 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3156, allocations: 12 kB / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.3157, allocations: 0 / 1.179 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3157, allocations: 0 / 1.179 GB, free: 2.172 MB / 0.92 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.894e-05/0.3158, allocations: 117.8 kB / 1.179 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/0.3158, allocations: 7.953 kB / 1.179 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.3158, allocations: 19.8 kB / 1.179 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3159, allocations: 0 / 1.179 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3159, allocations: 0 / 1.179 GB, free: 2.016 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3159, allocations: 7.938 kB / 1.179 GB, free: 2.008 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.3163, allocations: 478.8 kB / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3163, allocations: 0 / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.927e-05/0.3163, allocations: 3.938 kB / 1.18 GB, free: 1.473 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3163, allocations: 4 kB / 1.18 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3163, allocations: 4 kB / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3163, allocations: 0 / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3163, allocations: 0 / 1.18 GB, free: 1.465 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.809e-05/0.3164, allocations: 81.94 kB / 1.18 GB, free: 1.363 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.3165, allocations: 96.98 kB / 1.18 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.3165, allocations: 0 / 1.18 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.898e-05/0.3166, allocations: 4 kB / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.3166, allocations: 0 / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.3166, allocations: 0 / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of sorting global known variables: time 9.543e-05/0.3167, allocations: 129.2 kB / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3167, allocations: 0 / 1.18 GB, free: 1.121 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001795/0.3169, allocations: 8 kB / 1.18 GB, free: 1.113 MB / 0.92 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.0001027/0.317, allocations: 95.25 kB / 1.18 GB, free: 1.012 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.855e-05/0.3171, allocations: 20 kB / 1.18 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.3171, allocations: 4 kB / 1.18 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.787e-05/0.3171, allocations: 11.92 kB / 1.18 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001483/0.3173, allocations: 18.42 kB / 1.18 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.3176, allocations: 180.2 kB / 1.18 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.3179, allocations: 0.6963 MB / 1.181 GB, free: 20 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.3179, allocations: 11.44 kB / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of SimCode: time 2.31e-07/0.3179, allocations: 0 / 1.181 GB, free: 8 kB / 0.92 GB Notification: Performance of Templates: time 0.002436/0.3204, allocations: 0.8716 MB / 1.182 GB, free: 15.13 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.168970928993076]