Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001406/0.001406, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001446/0.001446, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.933/2.933, allocations: 476.7 MB / 0.7629 GB, free: 15.17 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 71.88 kB / 1.107 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258/1.26, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002393/1.263, allocations: 0.8329 MB / 1.273 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001176/1.263, allocations: 32.89 kB / 1.273 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/1.263, allocations: 5.469 kB / 1.273 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.633e-05/1.263, allocations: 5.156 kB / 1.273 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.082e-05/1.263, allocations: 18.41 kB / 1.273 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.46e-05/1.263, allocations: 19.91 kB / 1.273 GB, free: 7.352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/1.263, allocations: 59.94 kB / 1.273 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/1.263, allocations: 39.44 kB / 1.273 GB, free: 7.301 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/1.264, allocations: 26.08 kB / 1.273 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/1.264, allocations: 30.41 kB / 1.273 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.619e-05/1.264, allocations: 5.969 kB / 1.273 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/1.264, allocations: 6.75 kB / 1.273 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/1.264, allocations: 11.31 kB / 1.273 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.847e-05/1.264, allocations: 40.69 kB / 1.273 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/1.264, allocations: 77.7 kB / 1.273 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.264, allocations: 4 kB / 1.273 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.783e-06/1.264, allocations: 0.7188 kB / 1.273 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.154e-06/1.264, allocations: 0.9375 kB / 1.273 GB, free: 7.191 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.0004409/1.264, allocations: 376 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/1.264, allocations: 9.812 kB / 1.274 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/1.264, allocations: 13.78 kB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/1.265, allocations: 188 kB / 1.274 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/1.265, allocations: 11.75 kB / 1.274 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/1.265, allocations: 13.66 kB / 1.274 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/1.265, allocations: 93.02 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.265, allocations: 1.188 kB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/1.265, allocations: 8.844 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/1.265, allocations: 1.688 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.42e-05/1.265, allocations: 36.2 kB / 1.274 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/1.266, allocations: 442.8 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.227e-05/1.266, allocations: 41.31 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/1.266, allocations: 20.48 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.277e-06/1.266, allocations: 0 / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/1.266, allocations: 36.41 kB / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/1.266, allocations: 0 / 1.274 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/1.266, allocations: 61.3 kB / 1.274 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/1.266, allocations: 78.73 kB / 1.275 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/1.266, allocations: 158 kB / 1.275 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/1.266, allocations: 26.55 kB / 1.275 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/1.266, allocations: 108.8 kB / 1.275 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/1.266, allocations: 9.422 kB / 1.275 GB, free: 5.555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/1.266, allocations: 17.94 kB / 1.275 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/1.266, allocations: 320.7 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/1.266, allocations: 8 kB / 1.275 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.5e-05/1.266, allocations: 19.45 kB / 1.275 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/1.266, allocations: 26.72 kB / 1.275 GB, free: 5.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.266, allocations: 4 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.214e-05/1.266, allocations: 57.2 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/1.266, allocations: 6.531 kB / 1.275 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/1.266, allocations: 5.031 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/1.266, allocations: 1.031 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/1.266, allocations: 6.531 kB / 1.275 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/1.266, allocations: 9.016 kB / 1.275 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/1.267, allocations: 9.844 kB / 1.275 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/1.267, allocations: 0.9688 kB / 1.275 GB, free: 5.105 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 6.277e-05/1.267, allocations: 120.3 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/1.267, allocations: 12.41 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/1.267, allocations: 12.42 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/1.267, allocations: 0.75 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.267, allocations: 0.7188 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.267, allocations: 0.875 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/1.267, allocations: 474.3 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/1.267, allocations: 0.9375 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/1.267, allocations: 3.969 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.267, allocations: 0.875 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/1.267, allocations: 0.9062 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/1.267, allocations: 4.906 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.267, allocations: 3.359 kB / 1.276 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.65e-05/1.267, allocations: 82.62 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/1.267, allocations: 91.34 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/1.267, allocations: 8.844 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/1.267, allocations: 0.8125 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/1.267, allocations: 2.953 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-06/1.267, allocations: 1.531 kB / 1.276 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 7.891e-05/1.267, allocations: 118.7 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.267, allocations: 1.031 kB / 1.276 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002023/1.267, allocations: 6.312 kB / 1.276 GB, free: 4.188 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.268, allocations: 108 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001096/1.268, allocations: 18.03 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.268, allocations: 0 / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-05/1.268, allocations: 4.281 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/1.268, allocations: 16.77 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/1.268, allocations: 178 kB / 1.277 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/1.268, allocations: 0.6929 MB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.733e-05/1.268, allocations: 6.734 kB / 1.277 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/1.268, allocations: 11.81 kB / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/1.268, allocations: 0 / 1.277 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of Templates: time 0.003238/1.272, allocations: 470 kB / 1.278 GB, free: 3.133 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.792682934552431]