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.001484/0.001484, allocations: 112.7 kB / 18.94 MB, free: 2.93 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.002078/0.002078, allocations: 189.4 kB / 22.22 MB, free: 5.105 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.544/1.544, allocations: 225.6 MB / 251 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.714/2.714, allocations: 443.5 MB / 0.7321 GB, free: 12.34 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001956/0.001956, allocations: 63.89 kB / 1.061 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.064/1.066, allocations: 160.8 MB / 1.218 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002291/1.069, allocations: 0.8392 MB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001284/1.069, allocations: 41.03 kB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.072e-05/1.069, allocations: 1.375 kB / 1.219 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.001e-05/1.069, allocations: 13.27 kB / 1.219 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.979e-05/1.069, allocations: 11.88 kB / 1.219 GB, free: 3.113 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.548e-05/1.069, allocations: 15.7 kB / 1.219 GB, free: 3.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001459/1.069, allocations: 63.22 kB / 1.219 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001693/1.069, allocations: 38.28 kB / 1.219 GB, free: 3.035 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.346e-05/1.069, allocations: 28.31 kB / 1.22 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/1.069, allocations: 33.12 kB / 1.22 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/1.069, allocations: 5.812 kB / 1.22 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.594e-05/1.069, allocations: 6.656 kB / 1.22 GB, free: 2.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/1.069, allocations: 14 kB / 1.22 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/1.069, allocations: 30.64 kB / 1.22 GB, free: 2.953 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/1.07, allocations: 79.75 kB / 1.22 GB, free: 2.895 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/1.07, allocations: 1.062 kB / 1.22 GB, free: 2.895 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/1.07, allocations: 0 / 1.22 GB, free: 2.895 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.59e-06/1.07, allocations: 0 / 1.22 GB, free: 2.895 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.0004988/1.07, allocations: 387 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.07, allocations: 9.281 kB / 1.22 GB, free: 2.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/1.07, allocations: 13.53 kB / 1.22 GB, free: 2.48 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/1.07, allocations: 190.7 kB / 1.22 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/1.07, allocations: 7.438 kB / 1.22 GB, free: 2.262 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/1.07, allocations: 9.531 kB / 1.22 GB, free: 2.258 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/1.071, allocations: 92.75 kB / 1.22 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/1.071, allocations: 5.438 kB / 1.22 GB, free: 2.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.494e-05/1.071, allocations: 7.938 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/1.071, allocations: 2.594 kB / 1.22 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.166e-05/1.071, allocations: 35.17 kB / 1.22 GB, free: 2.152 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/1.071, allocations: 437.1 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.538e-05/1.071, allocations: 45.03 kB / 1.221 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.279e-05/1.071, allocations: 26.55 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.213e-06/1.071, allocations: 1.312 kB / 1.221 GB, free: 1.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.071, allocations: 31.75 kB / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/1.071, allocations: 0 / 1.221 GB, free: 1.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001705/1.072, allocations: 55.59 kB / 1.221 GB, free: 1.543 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/1.072, allocations: 81.11 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/1.072, allocations: 160.4 kB / 1.221 GB, free: 1.316 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/1.072, allocations: 25.7 kB / 1.221 GB, free: 1.285 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 9.09e-05/1.072, allocations: 108.7 kB / 1.221 GB, free: 1.18 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/1.072, allocations: 5.266 kB / 1.221 GB, free: 1.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/1.072, allocations: 21.11 kB / 1.221 GB, free: 1.152 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.072, allocations: 313 kB / 1.222 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.248e-05/1.072, allocations: 11.69 kB / 1.222 GB, free: 0.832 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/1.072, allocations: 22.58 kB / 1.222 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.908e-05/1.072, allocations: 25.66 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.072, allocations: 1.125 kB / 1.222 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.51e-05/1.072, allocations: 66.5 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/1.072, allocations: 5.75 kB / 1.222 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/1.072, allocations: 8 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.072, allocations: 1.312 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/1.073, allocations: 5.969 kB / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.073, allocations: 0 / 1.222 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.122e-05/1.073, allocations: 6.281 kB / 1.222 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/1.073, allocations: 5.094 kB / 1.222 GB, free: 0.7148 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 0.0001084/1.073, allocations: 121.2 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/1.073, allocations: 9.078 kB / 1.222 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.312e-05/1.073, allocations: 18.25 kB / 1.222 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/1.073, allocations: 5.188 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/1.073, allocations: 0 / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.215e-06/1.073, allocations: 1.594 kB / 1.222 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/1.073, allocations: 473.3 kB / 1.222 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/1.073, allocations: 5.125 kB / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/1.073, allocations: 3.25 kB / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/1.073, allocations: 1.062 kB / 1.222 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/1.073, allocations: 4.062 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/1.073, allocations: 1.031 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.073, allocations: 1.031 kB / 1.222 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001355/1.073, allocations: 86.7 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/1.073, allocations: 88.33 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/1.073, allocations: 1.094 kB / 1.223 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/1.073, allocations: 4.031 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/1.074, allocations: 1.094 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/1.074, allocations: 5.031 kB / 1.223 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001088/1.074, allocations: 121.8 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/1.074, allocations: 1.188 kB / 1.223 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001891/1.074, allocations: 10.97 kB / 1.223 GB, free: 15.75 MB / 0.9356 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.0001262/1.074, allocations: 93.38 kB / 1.223 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001045/1.074, allocations: 26.95 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.074, allocations: 0 / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.068e-05/1.074, allocations: 3.438 kB / 1.223 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/1.074, allocations: 17.94 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003576/1.075, allocations: 163.2 kB / 1.223 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/1.075, allocations: 0.6985 MB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.977e-05/1.075, allocations: 4.719 kB / 1.224 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/1.075, allocations: 11.69 kB / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.075, allocations: 0 / 1.224 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of Templates: time 0.002927/1.078, allocations: 480.5 kB / 1.224 GB, free: 14.52 MB / 0.9356 GB " [Timeout remaining time 299] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.315920513123274]