Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007891/0.0007891, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007738/0.0007738, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8783/0.8783, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.723/1.723, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.673e-05/1.781e-05, allocations: 6.219 kB / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001218/0.001235, allocations: 0.7946 MB / 0.9525 GB, free: 2.207 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001021/0.001338, allocations: 47.78 kB / 0.9526 GB, free: 2.16 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.971e-05/0.001387, allocations: 4 kB / 0.9526 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.001428, allocations: 7.875 kB / 0.9526 GB, free: 2.148 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.461e-05/0.001513, allocations: 7.875 kB / 0.9526 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 4.623e-05/0.001559, allocations: 19.97 kB / 0.9526 GB, free: 2.121 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.001656, allocations: 63.84 kB / 0.9527 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.001773, allocations: 23.97 kB / 0.9527 GB, free: 2.035 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.181e-05/0.001854, allocations: 39.84 kB / 0.9527 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 4.112e-05/0.001896, allocations: 23.91 kB / 0.9527 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.00192, allocations: 4 kB / 0.9527 GB, free: 1.969 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-06/0.001928, allocations: 12 kB / 0.9528 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.895e-05/0.001947, allocations: 15.92 kB / 0.9528 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.785e-05/0.001975, allocations: 19.92 kB / 0.9528 GB, free: 1.922 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 9.808e-05/0.002073, allocations: 75.64 kB / 0.9529 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.002075, allocations: 0 / 0.9529 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of FrontEnd: time 7.92e-07/0.002076, allocations: 0 / 0.9529 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.00208, allocations: 3.938 kB / 0.9529 GB, free: 1.844 MB / 0.9011 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.0003478/0.002428, allocations: 310 kB / 0.9532 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.002466, allocations: 8.031 kB / 0.9532 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.002505, allocations: 12.84 kB / 0.9532 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.002661, allocations: 145.5 kB / 0.9533 GB, free: 1.32 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.002672, allocations: 4.375 kB / 0.9533 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.002683, allocations: 8.375 kB / 0.9533 GB, free: 1.309 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.0028, allocations: 90.61 kB / 0.9534 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.00281, allocations: 192 / 0.9534 GB, free: 1.211 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.002819, allocations: 4.375 kB / 0.9534 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.002824, allocations: 384 / 0.9534 GB, free: 1.207 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.012e-05/0.002884, allocations: 43.86 kB / 0.9535 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.003234, allocations: 348.4 kB / 0.9538 GB, free: 0.7891 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.003283, allocations: 49.2 kB / 0.9538 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.00331, allocations: 21.84 kB / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.003316, allocations: 0 / 0.9539 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.003337, allocations: 34.56 kB / 0.9539 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.003338, allocations: 0 / 0.9539 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001388/0.003477, allocations: 49.64 kB / 0.9539 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.003513, allocations: 81.09 kB / 0.954 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.281e-05/0.003596, allocations: 129.7 kB / 0.9541 GB, free: 372 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.133e-06/0.003603, allocations: 25.7 kB / 0.9542 GB, free: 340 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.932e-05/0.003653, allocations: 112.2 kB / 0.9543 GB, free: 224 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.00366, allocations: 7.938 kB / 0.9543 GB, free: 216 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.003687, allocations: 25.66 kB / 0.9543 GB, free: 184 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.128e-05/0.003768, allocations: 314.8 kB / 0.9546 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.003782, allocations: 11.94 kB / 0.9546 GB, free: 15.85 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.804e-05/0.0038, allocations: 21.7 kB / 0.9546 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.237e-05/0.003832, allocations: 25.72 kB / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.003834, allocations: 0 / 0.9547 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.297e-05/0.003887, allocations: 53.7 kB / 0.9547 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.0039, allocations: 15.98 kB / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.003904, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.003917, allocations: 0 / 0.9547 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.003965, allocations: 8 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.00397, allocations: 3.938 kB / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.003983, allocations: 0 / 0.9547 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.366e-06/0.003987, allocations: 0 / 0.9547 GB, free: 15.71 MB / 0.9167 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.279e-05/0.00404, allocations: 113.8 kB / 0.9549 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.00406, allocations: 7.953 kB / 0.9549 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.768e-05/0.004078, allocations: 15.39 kB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.004079, allocations: 4.094 kB / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.004083, allocations: 0 / 0.9549 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.004089, allocations: 11.86 kB / 0.9549 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.004312, allocations: 410.5 kB / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.004313, allocations: 0 / 0.9553 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-06/0.004323, allocations: 7.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.004324, allocations: 0 / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.00433, allocations: 3.938 kB / 0.9553 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.004332, allocations: 7.938 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.004333, allocations: 0 / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.689e-05/0.00439, allocations: 82 kB / 0.9554 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.004405, allocations: 7.953 kB / 0.9554 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.839e-06/0.004415, allocations: 3.938 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-06/0.004423, allocations: 0 / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.189e-05/0.004435, allocations: 0 / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.004437, allocations: 4 kB / 0.9554 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.045e-05/0.004478, allocations: 106.3 kB / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.004478, allocations: 0 / 0.9555 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001197/0.004597, allocations: 8 kB / 0.9555 GB, free: 14.85 MB / 0.9167 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 6.778e-05/0.004665, allocations: 99.27 kB / 0.9556 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.635e-05/0.004731, allocations: 16 kB / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.004733, allocations: 0 / 0.9556 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.184e-06/0.00474, allocations: 7.938 kB / 0.9556 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001089/0.004849, allocations: 8 kB / 0.9556 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.005094, allocations: 192.2 kB / 0.9558 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.515e-05/0.005139, allocations: 81.64 kB / 0.9559 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.005162, allocations: 12.5 kB / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of SimCode: time 2.91e-07/0.005162, allocations: 0 / 0.9559 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of Templates: time 0.001388/0.00655, allocations: 0.798 MB / 0.9567 GB, free: 13.58 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 6.290758826769888]