Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.0009853/0.0009853, allocations: 84.8 kB / 20.75 MB, free: 3.742 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.000969/0.000969, allocations: 161 kB / 24.17 MB, free: 336 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.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.496 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.941/1.941, 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0.875 kB / 0.76 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.503e-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_BtuPerHour): time 0.001488/0.001513, allocations: 0.8232 MB / 0.7608 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001239/0.001637, allocations: 44.84 kB / 0.7609 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.001682, allocations: 4 kB / 0.7609 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.001715, allocations: 9.406 kB / 0.7609 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 8.28e-05/0.001798, allocations: 13.7 kB / 0.7609 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.722e-05/0.001835, allocations: 20.97 kB / 0.7609 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.547e-05/0.00193, allocations: 60.72 kB / 0.761 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.002032, allocations: 32.73 kB / 0.761 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.002139, allocations: 53.91 kB / 0.761 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.58e-05/0.002174, allocations: 12.97 kB / 0.7611 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.065e-05/0.002195, allocations: 4 kB / 0.7611 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.002207, allocations: 6.031 kB / 0.7611 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.002227, allocations: 11.94 kB / 0.7611 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.002252, allocations: 23.91 kB / 0.7611 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 9.197e-05/0.002344, allocations: 43.72 kB / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002346, allocations: 0 / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.91e-07/0.002347, allocations: 0 / 0.7611 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.002351, allocations: 10.17 kB / 0.7612 GB, free: 5.535 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.0003128/0.002664, allocations: 268.7 kB / 0.7614 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.002702, allocations: 12.03 kB / 0.7614 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.913e-05/0.002732, allocations: 12.92 kB / 0.7614 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.002854, allocations: 133.6 kB / 0.7616 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.002866, allocations: 13.83 kB / 0.7616 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.002879, allocations: 8.312 kB / 0.7616 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.002977, allocations: 81.8 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.002985, allocations: 192 / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.002993, allocations: 5.625 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.002999, allocations: 4.375 kB / 0.7617 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.705e-05/0.003026, allocations: 23.86 kB / 0.7617 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.003414, allocations: 0.4946 MB / 0.7622 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.797e-05/0.003482, allocations: 173.1 kB / 0.7623 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.027e-05/0.003503, allocations: 80.14 kB / 0.7624 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.003522, allocations: 75.94 kB / 0.7625 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.003555, allocations: 105.8 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.003556, allocations: 0.5938 kB / 0.7626 GB, free: 3.949 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 5.299e-05/0.003609, allocations: 39.34 kB / 0.7626 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.003668, allocations: 126.7 kB / 0.7627 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.003762, allocations: 152.1 kB / 0.7629 GB, free: 3.609 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.836e-06/0.00377, allocations: 25.7 kB / 0.7629 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.811e-05/0.003828, allocations: 130.8 kB / 0.763 GB, free: 3.449 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-06/0.003831, allocations: 3.984 kB / 0.763 GB, free: 3.445 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.003858, allocations: 25.67 kB / 0.7631 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002472/0.004105, allocations: 318.8 kB / 0.7634 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.06e-05/0.004116, allocations: 7.984 kB / 0.7634 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.004146, allocations: 54.89 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.311e-05/0.004199, allocations: 73.42 kB / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.004202, allocations: 0 / 0.7635 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.342e-05/0.004295, allocations: 74.8 kB / 0.7636 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.004307, allocations: 8.75 kB / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004312, allocations: 0 / 0.7636 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.004325, allocations: 4.75 kB / 0.7636 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.993e-05/0.004375, allocations: 15.94 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.004379, allocations: 4.734 kB / 0.7636 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.735e-05/0.004406, allocations: 11.94 kB / 0.7636 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.00441, allocations: 4.656 kB / 0.7636 GB, free: 2.789 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.575e-05/0.004476, allocations: 185.6 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.004513, allocations: 112 kB / 0.7639 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.728e-05/0.004551, allocations: 112.8 kB / 0.764 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.035e-05/0.004591, allocations: 180.3 kB / 0.7642 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.036e-05/0.004631, allocations: 180.2 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-05/0.004672, allocations: 176.3 kB / 0.7645 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.004807, allocations: 341.3 kB / 0.7649 GB, free: 1.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.004831, allocations: 101 kB / 0.7649 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.828e-05/0.004859, allocations: 116.9 kB / 0.7651 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.362e-05/0.004903, allocations: 183.4 kB / 0.7652 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.227e-05/0.004945, allocations: 176.3 kB / 0.7654 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.377e-05/0.004989, allocations: 184.2 kB / 0.7656 GB, free: 0.6836 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.272e-05/0.005032, allocations: 176.3 kB / 0.7657 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.005133, allocations: 311.7 kB / 0.766 GB, free: 180 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/0.005176, allocations: 116.9 kB / 0.7662 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.931e-05/0.005235, allocations: 184.2 kB / 0.7663 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.709e-05/0.005283, allocations: 101.3 kB / 0.7664 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.005327, allocations: 184.2 kB / 0.7666 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.005354, allocations: 106.8 kB / 0.7667 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.75e-05/0.005381, allocations: 27.06 kB / 0.7667 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005381, allocations: 0 / 0.7667 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001366/0.005518, allocations: 19.89 kB / 0.7668 GB, free: 15.42 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.0001119/0.00563, allocations: 157.2 kB / 0.7669 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.525e-05/0.005695, allocations: 22.08 kB / 0.7669 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.005702, allocations: 11.94 kB / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.005703, allocations: 0 / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.005912, allocations: 468.2 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.0002447/0.006156, allocations: 232.8 kB / 0.7676 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.147e-05/0.006188, allocations: 59.34 kB / 0.7677 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.653e-05/0.006224, allocations: 10.47 kB / 0.7677 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.006254, allocations: 52.62 kB / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of SimCode: time 6.21e-07/0.006255, allocations: 0 / 0.7677 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of Templates: time 0.001884/0.008139, allocations: 333.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_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_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.054339534137398]