Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001015/0.001015, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001028/0.001028, allocations: 165 kB / 24.17 MB, free: 324 kB / 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.9786/0.9786, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.96/1.96, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.From_quad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.459e-06/4.459e-06, allocations: 4 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.889e-05, allocations: 2.312 kB / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.002616/0.002655, allocations: 0.8166 MB / 0.7608 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.002838, allocations: 40.59 kB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.002896, allocations: 4 kB / 0.7609 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.304e-05/0.002949, allocations: 8.5 kB / 0.7609 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.003049, allocations: 16.08 kB / 0.7609 GB, free: 5.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.494e-05/0.003104, allocations: 19.98 kB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.00324, allocations: 65.8 kB / 0.761 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001343/0.003375, allocations: 31.91 kB / 0.761 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001291/0.003504, allocations: 48.05 kB / 0.7611 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.466e-05/0.003548, allocations: 20.88 kB / 0.7611 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.003571, allocations: 4 kB / 0.7611 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.051e-05/0.003582, allocations: 8.5 kB / 0.7611 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.003605, allocations: 7.938 kB / 0.7611 GB, free: 5.578 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.005e-05/0.003635, allocations: 21.05 kB / 0.7611 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.003739, allocations: 39.77 kB / 0.7611 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.003742, allocations: 4 kB / 0.7612 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.52e-07/0.003742, allocations: 0.875 kB / 0.7612 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.003746, allocations: 0 / 0.7612 GB, free: 5.516 MB / 0.7136 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.0003632/0.00411, allocations: 277.5 kB / 0.7614 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.004148, allocations: 8.031 kB / 0.7614 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.004183, allocations: 13.97 kB / 0.7614 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.004334, allocations: 141.5 kB / 0.7616 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.004349, allocations: 12.36 kB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.004364, allocations: 5.062 kB / 0.7616 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.004474, allocations: 78.81 kB / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.004482, allocations: 192 / 0.7617 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.004492, allocations: 4.375 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.004499, allocations: 4.375 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.69e-05/0.004536, allocations: 23.86 kB / 0.7617 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.004961, allocations: 0.4945 MB / 0.7622 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.005045, allocations: 173.3 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.005073, allocations: 86.08 kB / 0.7624 GB, free: 4.109 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.005093, allocations: 75.28 kB / 0.7625 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/0.005134, allocations: 109.8 kB / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.81e-07/0.005135, allocations: 0 / 0.7626 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.787e-05/0.005193, allocations: 33.62 kB / 0.7626 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.005249, allocations: 134.7 kB / 0.7628 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.005354, allocations: 145.5 kB / 0.7629 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.005365, allocations: 25.7 kB / 0.7629 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.005429, allocations: 128.5 kB / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-06/0.005431, allocations: 0 / 0.763 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.005467, allocations: 30.41 kB / 0.7631 GB, free: 3.387 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.116e-05/0.005558, allocations: 318.8 kB / 0.7634 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.02e-05/0.005568, allocations: 13.67 kB / 0.7634 GB, free: 3.055 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.359e-05/0.005612, allocations: 58.89 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.855e-05/0.00568, allocations: 69.2 kB / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.005683, allocations: 0 / 0.7635 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001155/0.005799, allocations: 68.17 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.005812, allocations: 11.94 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.005817, allocations: 0 / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.005832, allocations: 5.75 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.56e-05/0.005887, allocations: 12 kB / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.005891, allocations: 0 / 0.7636 GB, free: 2.785 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.71e-05/0.005928, allocations: 11.94 kB / 0.7636 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.235e-06/0.005937, allocations: 7.984 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 8.273e-05/0.006019, allocations: 191.8 kB / 0.7638 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.006071, allocations: 105 kB / 0.7639 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.748e-05/0.006119, allocations: 116.8 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.974e-05/0.006169, allocations: 180.2 kB / 0.7642 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.046e-05/0.006219, allocations: 180.3 kB / 0.7644 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.426e-05/0.006273, allocations: 188.2 kB / 0.7645 GB, free: 1.781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.00646, allocations: 329.4 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.31e-05/0.006493, allocations: 106.9 kB / 0.765 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.006527, allocations: 112.9 kB / 0.7651 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.142e-05/0.006579, allocations: 176.3 kB / 0.7652 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.312e-05/0.006632, allocations: 180.2 kB / 0.7654 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.675e-05/0.006688, allocations: 180.3 kB / 0.7656 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-05/0.00674, allocations: 181.1 kB / 0.7658 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001131/0.006853, allocations: 307.8 kB / 0.766 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.979e-05/0.006903, allocations: 121.6 kB / 0.7662 GB, free: 28 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.896e-05/0.006972, allocations: 184.2 kB / 0.7663 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.007043, allocations: 105.7 kB / 0.7664 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.423e-05/0.007097, allocations: 183.3 kB / 0.7666 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.007128, allocations: 105 kB / 0.7667 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.007158, allocations: 24.83 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.007158, allocations: 4 kB / 0.7667 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002447/0.007403, allocations: 15.89 kB / 0.7668 GB, free: 15.39 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001073/0.00751, allocations: 159.6 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.849e-05/0.007578, allocations: 27.23 kB / 0.7669 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.007583, allocations: 4 kB / 0.7669 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.007585, allocations: 0 / 0.7669 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.007863, allocations: 467.6 kB / 0.7674 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/0.008111, allocations: 229.4 kB / 0.7676 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.699e-05/0.008148, allocations: 59.34 kB / 0.7677 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.008186, allocations: 7.953 kB / 0.7677 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.008219, allocations: 51.38 kB / 0.7677 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of SimCode: time 1.103e-06/0.00822, allocations: 0 / 0.7677 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of Templates: time 0.002092/0.01031, allocations: 347.7 kB / 0.7681 GB, free: 14.02 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.097467441111803]