Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001695/0.001695, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002243/0.002243, allocations: 191.9 kB / 22.17 MB, free: 5.648 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.495/1.495, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.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.671/2.671, allocations: 443.5 MB / 0.732 GB, free: 12.59 MB / 0.5919 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 67.89 kB / 1.061 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8853/0.8873, allocations: 160.7 MB / 1.218 GB, free: 4.098 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002169/0.8895, allocations: 0.8425 MB / 1.219 GB, free: 3.453 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001218/0.8896, allocations: 40.38 kB / 1.219 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.8897, allocations: 2.344 kB / 1.219 GB, free: 3.418 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.245e-05/0.8897, allocations: 7.875 kB / 1.219 GB, free: 3.41 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.198e-05/0.8898, allocations: 12.97 kB / 1.219 GB, free: 3.398 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.749e-05/0.8898, allocations: 19.69 kB / 1.219 GB, free: 3.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.89, allocations: 62.56 kB / 1.219 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.8901, allocations: 29.47 kB / 1.219 GB, free: 3.324 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.726e-05/0.8901, allocations: 28.2 kB / 1.219 GB, free: 3.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.976e-05/0.8902, allocations: 32.3 kB / 1.219 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.8902, allocations: 5.781 kB / 1.219 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.8902, allocations: 6.406 kB / 1.219 GB, free: 3.277 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.8903, allocations: 22.28 kB / 1.219 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.8903, allocations: 26.72 kB / 1.219 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.8904, allocations: 75.94 kB / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8904, allocations: 0 / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8905, allocations: 0 / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.8905, allocations: 0 / 1.219 GB, free: 3.18 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.0005308/0.891, allocations: 382.4 kB / 1.22 GB, free: 2.777 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.891, allocations: 10.69 kB / 1.22 GB, free: 2.777 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.8911, allocations: 13.81 kB / 1.22 GB, free: 2.77 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.8913, allocations: 202.2 kB / 1.22 GB, free: 2.543 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.8913, allocations: 7.062 kB / 1.22 GB, free: 2.539 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.8914, allocations: 9.375 kB / 1.22 GB, free: 2.535 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.8915, allocations: 91.52 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.8915, allocations: 1.375 kB / 1.22 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.8916, allocations: 13.06 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.8916, allocations: 2.156 kB / 1.22 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.8916, allocations: 30.83 kB / 1.22 GB, free: 2.438 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005821/0.8922, allocations: 441.4 kB / 1.221 GB, free: 1.996 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.733e-05/0.8923, allocations: 40.41 kB / 1.221 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.8923, allocations: 19.22 kB / 1.221 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.8923, allocations: 5.062 kB / 1.221 GB, free: 1.918 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.8924, allocations: 35.62 kB / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.8924, allocations: 0 / 1.221 GB, free: 1.875 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001796/0.8926, allocations: 59.36 kB / 1.221 GB, free: 1.824 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.8926, allocations: 82.3 kB / 1.221 GB, free: 1.727 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.8928, allocations: 158.8 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.8928, allocations: 26.86 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.8929, allocations: 107.6 kB / 1.221 GB, free: 1.461 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.8929, allocations: 4.984 kB / 1.221 GB, free: 1.457 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.8929, allocations: 17.97 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.8931, allocations: 317 kB / 1.221 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.8931, allocations: 11.38 kB / 1.221 GB, free: 1.113 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.8931, allocations: 22.27 kB / 1.221 GB, free: 1.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.533e-05/0.8932, allocations: 26.06 kB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8932, allocations: 1.094 kB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.271e-05/0.8933, allocations: 66.38 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.8933, allocations: 6.125 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.8933, allocations: 8 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8933, allocations: 1.5 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/0.8934, allocations: 9.125 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.8934, allocations: 0.8125 kB / 1.222 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.8934, allocations: 10.98 kB / 1.222 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.8934, allocations: 1.281 kB / 1.222 GB, free: 0.9922 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 9.57e-05/0.8935, allocations: 116.4 kB / 1.222 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.8935, allocations: 8.578 kB / 1.222 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.375e-05/0.8936, allocations: 10.47 kB / 1.222 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.8936, allocations: 5.125 kB / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8936, allocations: 0 / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.8936, allocations: 1.062 kB / 1.222 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004427/0.894, allocations: 477.9 kB / 1.222 GB, free: 356 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.894, allocations: 5.078 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.856e-05/0.894, allocations: 3.312 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.894, allocations: 1.156 kB / 1.222 GB, free: 352 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.894, allocations: 4.062 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.894, allocations: 1.094 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.894, allocations: 1.062 kB / 1.222 GB, free: 348 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.8941, allocations: 82.61 kB / 1.222 GB, free: 256 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.8942, allocations: 87.14 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.8942, allocations: 1.938 kB / 1.222 GB, free: 152 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.336e-05/0.8942, allocations: 4.031 kB / 1.222 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.8943, allocations: 1.156 kB / 1.222 GB, free: 148 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.8943, allocations: 2.031 kB / 1.222 GB, free: 148 kB / 0.92 GB Notification: Performance of sorting global known variables: time 9.605e-05/0.8944, allocations: 124.6 kB / 1.222 GB, free: 48 kB / 0.92 GB Notification: Performance of sort global known variables: time 9e-08/0.8944, allocations: 1.031 kB / 1.222 GB, free: 48 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.000187/0.8945, allocations: 10.97 kB / 1.222 GB, free: 44 kB / 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.000157/0.8947, allocations: 101.9 kB / 1.223 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.652e-05/0.8948, allocations: 21.56 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8948, allocations: 0 / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.8948, allocations: 4.125 kB / 1.223 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.895, allocations: 15.09 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.8953, allocations: 174.2 kB / 1.223 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.8957, allocations: 0.6947 MB / 1.223 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.8957, allocations: 8.609 kB / 1.223 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.8957, allocations: 11.5 kB / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.8957, allocations: 0 / 1.223 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of Templates: time 0.002824/0.8986, allocations: 470.4 kB / 1.224 GB, free: 14.81 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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: 8.880707378033549]