Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001083/0.001083, allocations: 80.8 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.0009914/0.0009914, allocations: 161.4 kB / 24.16 MB, free: 332 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 1.074/1.074, allocations: 177.2 MB / 204.6 MB, free: 5.324 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.963/1.963, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.18e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.005417/0.005449, allocations: 0.8683 MB / 0.7609 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001933/0.005642, allocations: 45.91 kB / 0.761 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.005701, allocations: 4 kB / 0.761 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.005739, allocations: 7.875 kB / 0.761 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/0.005841, allocations: 18.48 kB / 0.761 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 5.579e-05/0.005897, allocations: 15.98 kB / 0.761 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.006016, allocations: 61.16 kB / 0.7611 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.006143, allocations: 37.36 kB / 0.7611 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.006271, allocations: 49.36 kB / 0.7611 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.006318, allocations: 19.91 kB / 0.7612 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.006335, allocations: 5.25 kB / 0.7612 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-06/0.006344, allocations: 8 kB / 0.7612 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.006363, allocations: 7.938 kB / 0.7612 GB, free: 5.492 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.725e-05/0.00639, allocations: 25.16 kB / 0.7612 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.006501, allocations: 39.78 kB / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002721/0.009222, allocations: 0 / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.009223, allocations: 0 / 0.7612 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.009231, allocations: 0.625 kB / 0.7612 GB, free: 5.43 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.0003976/0.009629, allocations: 277.2 kB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.009675, allocations: 9.625 kB / 0.7615 GB, free: 5.125 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.917e-05/0.009714, allocations: 16.92 kB / 0.7615 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.009883, allocations: 137.5 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.009895, allocations: 4.375 kB / 0.7617 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.009907, allocations: 8.375 kB / 0.7617 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.01003, allocations: 76.95 kB / 0.7617 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.01004, allocations: 192 / 0.7617 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.01005, allocations: 5.688 kB / 0.7618 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.01006, allocations: 4.375 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.173e-05/0.0101, allocations: 27.8 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004674/0.01057, allocations: 0.4941 MB / 0.7623 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.721e-05/0.01064, allocations: 177.1 kB / 0.7624 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.303e-05/0.01068, allocations: 80.89 kB / 0.7625 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.0107, allocations: 79.31 kB / 0.7626 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/0.01074, allocations: 110.6 kB / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.01074, allocations: 0 / 0.7627 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.884e-05/0.01081, allocations: 34.28 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.01087, allocations: 130.7 kB / 0.7629 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.01099, allocations: 144.3 kB / 0.763 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.011, allocations: 32.73 kB / 0.763 GB, free: 3.461 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.774e-05/0.01107, allocations: 123.8 kB / 0.7631 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.01107, allocations: 3.984 kB / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.01111, allocations: 25.67 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.01121, allocations: 322.8 kB / 0.7635 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.01123, allocations: 3.984 kB / 0.7635 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.253e-05/0.01127, allocations: 58.84 kB / 0.7635 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.01135, allocations: 69.91 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01135, allocations: 3.938 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001235/0.01147, allocations: 71.36 kB / 0.7637 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.01149, allocations: 9.25 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.0115, allocations: 3.094 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.01151, allocations: 4 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.336e-05/0.01158, allocations: 15.94 kB / 0.7637 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.01158, allocations: 7.984 kB / 0.7637 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.01162, allocations: 7.938 kB / 0.7637 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.01163, allocations: 0 / 0.7637 GB, free: 2.68 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.295e-05/0.01171, allocations: 193.1 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.01177, allocations: 107.8 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.01181, allocations: 112.8 kB / 0.7641 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.464e-05/0.01187, allocations: 180.2 kB / 0.7643 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.384e-05/0.01192, allocations: 184.3 kB / 0.7645 GB, free: 1.883 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/0.01198, allocations: 188.2 kB / 0.7646 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.01217, allocations: 333.3 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/0.0122, allocations: 105 kB / 0.7651 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.01224, allocations: 108.9 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.379e-05/0.01229, allocations: 177.8 kB / 0.7653 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.01235, allocations: 184.2 kB / 0.7655 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.054e-05/0.0124, allocations: 176.3 kB / 0.7657 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003352/0.01273, allocations: 180.3 kB / 0.7658 GB, free: 396 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.01286, allocations: 313 kB / 0.7661 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.039e-05/0.01293, allocations: 116.9 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/0.01299, allocations: 184.2 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.109e-05/0.01306, allocations: 105.8 kB / 0.7665 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.01312, allocations: 180.2 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.01315, allocations: 105.9 kB / 0.7668 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.021e-05/0.01319, allocations: 35.23 kB / 0.7668 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01319, allocations: 0.9062 kB / 0.7668 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002359/0.01343, allocations: 15.89 kB / 0.7669 GB, free: 15.3 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.0001447/0.01357, allocations: 156.5 kB / 0.767 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.01366, allocations: 30.02 kB / 0.767 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.01367, allocations: 5.188 kB / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.01367, allocations: 0 / 0.767 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.01394, allocations: 464.3 kB / 0.7675 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000313/0.01425, allocations: 224 kB / 0.7677 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.502e-05/0.0143, allocations: 59.94 kB / 0.7678 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.232e-05/0.01434, allocations: 5.859 kB / 0.7678 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.133e-05/0.01438, allocations: 60.3 kB / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of SimCode: time 1.162e-06/0.01438, allocations: 0 / 0.7678 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.002499/0.01688, allocations: 335.1 kB / 0.7681 GB, free: 13.95 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.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.012663603294641]