Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.001546/0.001546, allocations: 110.5 kB / 17.08 MB, free: 5.82 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.001728/0.001728, allocations: 191.8 kB / 20.03 MB, free: 2.953 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.445/1.445, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.173/3.173, allocations: 489.3 MB / 0.7687 GB, free: 3.949 MB / 0.6075 GB " [Timeout remaining time 176] 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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 71.89 kB / 1.103 GB, free: 0.8086 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.075, allocations: 163.8 MB / 1.263 GB, free: 8.012 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002071/1.078, allocations: 0.8343 MB / 1.263 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000116/1.078, allocations: 43.83 kB / 1.263 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/1.078, allocations: 1.438 kB / 1.263 GB, free: 7.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/1.078, allocations: 10.19 kB / 1.263 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.063e-05/1.078, allocations: 10.25 kB / 1.263 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.177e-05/1.078, allocations: 16.72 kB / 1.263 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/1.078, allocations: 65.19 kB / 1.264 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/1.078, allocations: 41.78 kB / 1.264 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/1.078, allocations: 29.77 kB / 1.264 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.87e-05/1.078, allocations: 26.8 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/1.078, allocations: 5.719 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/1.078, allocations: 6.125 kB / 1.264 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/1.078, allocations: 16.55 kB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.943e-05/1.078, allocations: 28.83 kB / 1.264 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/1.079, allocations: 76.94 kB / 1.264 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.079, allocations: 0.875 kB / 1.264 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.104e-06/1.079, allocations: 7.938 kB / 1.264 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.125e-05/1.079, allocations: 0.6875 kB / 1.264 GB, free: 7.27 MB / 0.9981 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.0004048/1.079, allocations: 384.2 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/1.079, allocations: 10.09 kB / 1.264 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/1.079, allocations: 9.172 kB / 1.264 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/1.079, allocations: 188.8 kB / 1.264 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/1.079, allocations: 7.656 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.403e-05/1.079, allocations: 5.75 kB / 1.264 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/1.08, allocations: 102.1 kB / 1.264 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.08, allocations: 1.094 kB / 1.264 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/1.08, allocations: 8.781 kB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.575e-06/1.08, allocations: 2.344 kB / 1.264 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.82e-05/1.08, allocations: 31.83 kB / 1.264 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/1.08, allocations: 438.7 kB / 1.265 GB, free: 6.16 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.581e-05/1.08, allocations: 40.81 kB / 1.265 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/1.08, allocations: 25.69 kB / 1.265 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/1.08, allocations: 0.625 kB / 1.265 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/1.08, allocations: 31.31 kB / 1.265 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/1.08, allocations: 4.75 kB / 1.265 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001879/1.081, allocations: 64.72 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/1.081, allocations: 77.86 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/1.081, allocations: 160.5 kB / 1.265 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/1.081, allocations: 26.61 kB / 1.265 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.026e-05/1.081, allocations: 116 kB / 1.265 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.277e-06/1.081, allocations: 5.438 kB / 1.265 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/1.081, allocations: 17.91 kB / 1.265 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.755e-05/1.081, allocations: 320.2 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/1.081, allocations: 8.141 kB / 1.266 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/1.081, allocations: 20 kB / 1.266 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.46e-05/1.081, allocations: 26.66 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.081, allocations: 0.75 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.221e-05/1.081, allocations: 57.53 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/1.081, allocations: 7.375 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.081, allocations: 8.625 kB / 1.266 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/1.081, allocations: 4.812 kB / 1.266 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/1.081, allocations: 10.69 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/1.081, allocations: 0.7812 kB / 1.266 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.251e-05/1.081, allocations: 9.672 kB / 1.266 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/1.081, allocations: 2.641 kB / 1.266 GB, free: 5.176 MB / 0.9981 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 5.27e-05/1.081, allocations: 117.8 kB / 1.266 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.049e-05/1.082, allocations: 7.953 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.189e-05/1.082, allocations: 13.16 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/1.082, allocations: 0.8125 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.082, allocations: 0.7188 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/1.082, allocations: 1.375 kB / 1.266 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/1.082, allocations: 470 kB / 1.266 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.082, allocations: 8.875 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/1.082, allocations: 3.641 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.082, allocations: 1.562 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/1.082, allocations: 1.484 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.082, allocations: 0.6875 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.082, allocations: 0.6875 kB / 1.267 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.054e-05/1.082, allocations: 84.89 kB / 1.267 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/1.082, allocations: 90.33 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/1.082, allocations: 1.5 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.189e-05/1.082, allocations: 1.406 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.27e-05/1.082, allocations: 1.422 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/1.082, allocations: 1.469 kB / 1.267 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.506e-05/1.082, allocations: 121 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.082, allocations: 0.9375 kB / 1.267 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00019/1.083, allocations: 10.72 kB / 1.267 GB, free: 4.27 MB / 0.9981 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.0001272/1.083, allocations: 104.8 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.761e-05/1.083, allocations: 19.77 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.083, allocations: 0.625 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.161e-05/1.083, allocations: 4.484 kB / 1.267 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/1.083, allocations: 12.02 kB / 1.267 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/1.083, allocations: 191.5 kB / 1.267 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/1.083, allocations: 0.6964 MB / 1.268 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/1.083, allocations: 11.28 kB / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of SimCode: time 1.533e-06/1.083, allocations: 0 / 1.268 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of Templates: time 0.002942/1.086, allocations: 0.8722 MB / 1.269 GB, free: 3.188 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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: 11.856181020848453]