Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001397/0.001397, 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.0009019/0.0009019, allocations: 161 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 0.9663/0.9663, allocations: 177.1 MB / 204.6 MB, free: 5.492 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.878/1.878, allocations: 377.9 MB / 0.624 GB, free: 8.371 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_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.518e-05, allocations: 2.312 kB / 0.76 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001333/0.001348, allocations: 0.8259 MB / 0.7608 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.001458, allocations: 41.22 kB / 0.7609 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.001506, allocations: 0 / 0.7609 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.001544, allocations: 15.86 kB / 0.7609 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.019e-05/0.001605, allocations: 10.94 kB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.452e-05/0.001649, allocations: 21.98 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.263e-05/0.001732, allocations: 61.36 kB / 0.761 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.62e-05/0.001828, allocations: 35.95 kB / 0.761 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.255e-05/0.001901, allocations: 45.47 kB / 0.761 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.2e-05/0.001943, allocations: 16.58 kB / 0.7611 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.001959, allocations: 4 kB / 0.7611 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.143e-06/0.001966, allocations: 5.156 kB / 0.7611 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.851e-05/0.001984, allocations: 15.92 kB / 0.7611 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.089e-05/0.002005, allocations: 19.92 kB / 0.7611 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.695e-05/0.002082, allocations: 40.36 kB / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002084, allocations: 0.875 kB / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.4e-07/0.002084, allocations: 0 / 0.7611 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.885e-06/0.002087, allocations: 0 / 0.7611 GB, free: 5.547 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.0002455/0.002333, allocations: 281.4 kB / 0.7614 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.002363, allocations: 8.656 kB / 0.7614 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.00239, allocations: 16.92 kB / 0.7614 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.002517, allocations: 138.7 kB / 0.7616 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.002526, allocations: 8.375 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.002538, allocations: 4.375 kB / 0.7616 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.525e-05/0.002623, allocations: 78.19 kB / 0.7616 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.002631, allocations: 4.938 kB / 0.7617 GB, free: 4.961 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-06/0.002639, allocations: 4.375 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.002644, allocations: 4.812 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.002672, allocations: 23.92 kB / 0.7617 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003487/0.003021, allocations: 0.4941 MB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.26e-05/0.003083, allocations: 174.3 kB / 0.7623 GB, free: 4.223 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.003105, allocations: 80.14 kB / 0.7624 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.003123, allocations: 79.28 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/0.003165, allocations: 114.5 kB / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.003166, allocations: 0 / 0.7626 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.112e-05/0.003207, allocations: 31.48 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.003253, allocations: 126.7 kB / 0.7627 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.00333, allocations: 142.6 kB / 0.7629 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-06/0.003338, allocations: 25.7 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.141e-05/0.00339, allocations: 133 kB / 0.763 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.003391, allocations: 3.938 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.003416, allocations: 21.67 kB / 0.7631 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.003491, allocations: 326.8 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-06/0.003496, allocations: 4.75 kB / 0.7634 GB, free: 3.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.003669, allocations: 54.89 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.313e-05/0.003722, allocations: 69.95 kB / 0.7635 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.003725, allocations: 4.969 kB / 0.7635 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 7.645e-05/0.003801, allocations: 70.64 kB / 0.7636 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.067e-06/0.00381, allocations: 5.75 kB / 0.7636 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.003815, allocations: 4 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.937e-06/0.003824, allocations: 0 / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.472e-05/0.003868, allocations: 23.98 kB / 0.7636 GB, free: 2.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-06/0.003872, allocations: 4 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.003893, allocations: 10.69 kB / 0.7636 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.003897, allocations: 4 kB / 0.7636 GB, free: 2.797 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 6.047e-05/0.003958, allocations: 192.9 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.003991, allocations: 113 kB / 0.7639 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.004026, allocations: 120.7 kB / 0.764 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.00406, allocations: 176.3 kB / 0.7642 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.6e-05/0.004096, allocations: 182.2 kB / 0.7644 GB, free: 1.992 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.621e-05/0.004132, allocations: 180.2 kB / 0.7645 GB, free: 1.809 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.004257, allocations: 337.4 kB / 0.7649 GB, free: 1.453 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/0.004281, allocations: 108.9 kB / 0.765 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.138e-05/0.004302, allocations: 101 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-05/0.004342, allocations: 177.2 kB / 0.7652 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.004379, allocations: 184.2 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.689e-05/0.004416, allocations: 176.3 kB / 0.7656 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.832e-05/0.004454, allocations: 188.9 kB / 0.7658 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.791e-05/0.004532, allocations: 303.8 kB / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.004569, allocations: 121.5 kB / 0.7662 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.004622, allocations: 182.5 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.004665, allocations: 105.2 kB / 0.7664 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.004702, allocations: 180.2 kB / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.004725, allocations: 109 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.13e-05/0.004746, allocations: 31.58 kB / 0.7667 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004746, allocations: 3.938 kB / 0.7667 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001308/0.004877, allocations: 12.83 kB / 0.7668 GB, free: 15.41 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 7.597e-05/0.004953, allocations: 152.2 kB / 0.7669 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.02e-05/0.005003, allocations: 27.81 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.005006, allocations: 4 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-07/0.005007, allocations: 0 / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001693/0.005177, allocations: 471.5 kB / 0.7674 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001877/0.005364, allocations: 224 kB / 0.7676 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.772e-05/0.005392, allocations: 61.78 kB / 0.7677 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.005413, allocations: 8.672 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.642e-05/0.00544, allocations: 56.78 kB / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of SimCode: time 5.21e-07/0.00544, allocations: 0 / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of Templates: time 0.002102/0.007542, allocations: 338.7 kB / 0.768 GB, free: 14.05 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.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.028431115206331]